/* RoktoSeva Custom Styles - Pure HTML/CSS/JS Clone */

/* Base */
html {
  scroll-behavior: smooth;
}

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background-color: #070a13;
  color: white;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* Toast Notification */
.toast-container {
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.toast {
  padding: 12px 20px;
  border-radius: 12px;
  color: white;
  font-size: 14px;
  font-weight: 500;
  box-shadow: 0 10px 30px rgba(0,0,0,0.4);
  animation: slideIn 0.3s ease;
  max-width: 320px;
}

.toast.success {
  background: linear-gradient(135deg, #16a34a, #15803d);
  border: 1px solid rgba(34, 197, 94, 0.3);
}

.toast.error {
  background: linear-gradient(135deg, #dc2626, #b91c1c);
  border: 1px solid rgba(239, 68, 68, 0.3);
}

.toast.info {
  background: linear-gradient(135deg, #2563eb, #1d4ed8);
}

@keyframes slideIn {
  from { transform: translateX(100%); opacity: 0; }
  to { transform: translateX(0); opacity: 1; }
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(15px); }
  to { opacity: 1; transform: translateY(0); }
}

.animate-fade-in {
  animation: fadeIn 0.6s ease-out forwards;
}

.animate-fade-in-delay-1 { animation-delay: 0.15s; opacity: 0; }
.animate-fade-in-delay-2 { animation-delay: 0.3s; opacity: 0; }
.animate-fade-in-delay-3 { animation-delay: 0.45s; opacity: 0; }
.animate-fade-in-delay-4 { animation-delay: 0.6s; opacity: 0; }

/* Form inputs override for Tailwind-like look */
.form-input {
  width: 100%;
  background: rgba(255,255,255,0.02);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 12px;
  padding: 12px 16px;
  color: white;
  outline: none;
  transition: all 0.2s;
}

.form-input:focus {
  border-color: rgba(239, 68, 68, 0.5);
  box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.1);
}

.form-input::placeholder {
  color: #64748b;
}

.form-label {
  display: block;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #94a3b8;
  margin-bottom: 8px;
}

/* Select styling */
select.form-input {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%2394a3b8'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M19 9l-7 7-7-7'%3E%3C/path%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 16px;
  padding-right: 40px;
}

/* Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: #070a13;
}
::-webkit-scrollbar-thumb {
  background: #1e293b;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: #334155;
}

/* Mobile menu animation */
.mobile-menu {
  transition: all 0.3s ease;
}

/* Card hover */
.request-card:hover {
  border-color: rgba(239, 68, 68, 0.3) !important;
  background: rgba(12, 16, 31, 0.85) !important;
}

/* Loading spinner */
.spinner {
  width: 20px;
  height: 20px;
  border: 2px solid rgba(255,255,255,0.2);
  border-top-color: white;
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* Active nav link */
.nav-link-active {
  color: white !important;
  background: linear-gradient(to right, rgba(220, 38, 38, 0.2), rgba(225, 29, 72, 0.1)) !important;
  border: 1px solid rgba(239, 68, 68, 0.4) !important;
  box-shadow: 0 0 20px rgba(239, 68, 68, 0.3) !important;
}
