.eula-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.8);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10000;
  backdrop-filter: blur(4px);
}

.eula-modal {
  background: #1a1a1a;
  border: 1px solid #333;
  border-radius: 12px;
  width: 90%;
  max-width: 800px;
  height: 80vh;
  max-height: 600px;
  display: flex;
  flex-direction: column;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.eula-header {
  padding: 24px;
  border-bottom: 1px solid #333;
}

.eula-header h2 {
  margin: 0 0 8px 0;
  color: #fff;
  font-size: 24px;
  font-weight: 600;
}

.eula-header p {
  margin: 0;
  color: #888;
  font-size: 14px;
}

.eula-content {
  flex: 1;
  overflow-y: auto;
  padding: 24px;
  background: #0d0d0d;
}

.eula-content pre {
  margin: 0;
  white-space: pre-wrap;
  word-wrap: break-word;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
  font-size: 14px;
  line-height: 1.6;
  color: #ccc;
}

.eula-content::-webkit-scrollbar {
  width: 8px;
}

.eula-content::-webkit-scrollbar-track {
  background: #1a1a1a;
}

.eula-content::-webkit-scrollbar-thumb {
  background: #444;
  border-radius: 4px;
}

.eula-content::-webkit-scrollbar-thumb:hover {
  background: #555;
}

.eula-footer {
  padding: 20px 24px;
  border-top: 1px solid #333;
  background: #1a1a1a;
}

.scroll-notice {
  margin: 0 0 12px 0;
  color: #ff9800;
  font-size: 13px;
  text-align: center;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 0.8; }
  50% { opacity: 1; }
}

.eula-buttons {
  display: flex;
  gap: 12px;
  justify-content: flex-end;
}

.eula-decline-btn,
.eula-accept-btn {
  padding: 10px 24px;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s;
  border: none;
}

.eula-decline-btn {
  background: #333;
  color: #ccc;
}

.eula-decline-btn:hover {
  background: #444;
  color: #fff;
}

.eula-accept-btn {
  background: #4CAF50;
  color: white;
}

.eula-accept-btn:hover:not(:disabled) {
  background: #45a049;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(76, 175, 80, 0.3);
}

.eula-accept-btn:disabled {
  background: #2a2a2a;
  color: #666;
  cursor: not-allowed;
  opacity: 0.6;
}

@media (max-width: 768px) {
  .eula-modal {
    width: 95%;
    height: 90vh;
    border-radius: 8px;
  }
  
  .eula-header {
    padding: 16px;
  }
  
  .eula-header h2 {
    font-size: 20px;
  }
  
  .eula-content {
    padding: 16px;
  }
  
  .eula-content pre {
    font-size: 13px;
  }
  
  .eula-footer {
    padding: 16px;
  }
  
  .eula-buttons {
    flex-direction: column;
  }
  
  .eula-decline-btn,
  .eula-accept-btn {
    width: 100%;
  }
}