/* Modern CSS with Glassmorphism for Report Complaint Page */
:root {
  --primary: #2563eb;
  --primary-dark: #1d4ed8;
  --primary-light: #3b82f6;
  --primary-glow: #60a5fa;
  --secondary: #f59e0b;
  --accent: #ec4899;
  --dark: #1f2937;
  --darker: #111827;
  --light: #f8fafc;
  --gray: #64748b;
  --success: #10b981;
  --glass-light: rgba(255, 255, 255, 0.1);
  --glass-dark: rgba(0, 0, 0, 0.1);
  --glass-border: rgba(255, 255, 255, 0.2);
  --shadow-sm: 0 4px 6px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 10px 15px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 20px 25px rgba(0, 0, 0, 0.15);
  --gradient-primary: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  --gradient-glass: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.05) 100%);
  --gradient-accent: linear-gradient(135deg, var(--primary-light) 0%, var(--accent) 100%);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  color: var(--dark);
  line-height: 1.7;
  font-family: 'Inter', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background-color: var(--light);
  overflow-x: hidden;
  background: linear-gradient(135deg, #f5f7fa 0%, #e4e8f0 100%);
  min-height: 100vh;
}

/* Custom scrollbar */
::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {
  background: rgba(241, 241, 241, 0.8);
  backdrop-filter: blur(10px);
  border-radius: 10px;
}

::-webkit-scrollbar-thumb {
  background: var(--gradient-primary);
  border-radius: 10px;
  border: 2px solid rgba(255, 255, 255, 0.5);
}

::-webkit-scrollbar-thumb:hover {
  background: var(--primary-dark);
}

/* Navbar Styles with Glassmorphism */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.2rem 5%;
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(15px);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
  position: sticky;
  top: 0;
  z-index: 1000;
  border-bottom: 1px solid var(--glass-border);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.navbar.scrolled {
  padding: 0.8rem 5%;
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  transition: transform 0.3s ease;
}

.logo:hover {
  transform: scale(1.03);
}

.logo img {
  height: 42px;
  transition: transform 0.3s ease;
  filter: drop-shadow(0 4px 6px rgba(37, 99, 235, 0.2));
}

.logo:hover img {
  transform: rotate(5deg);
}

.logo h1 {
  font-size: 1.9rem;
  font-weight: 800;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  letter-spacing: -0.5px;
  text-shadow: 0 2px 4px rgba(37, 99, 235, 0.1);
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 2.5rem;
}

.nav-links a {
  text-decoration: none;
  color: var(--gray);
  font-weight: 500;
  transition: all 0.3s ease;
  position: relative;
  padding: 0.5rem 0;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 3px;
  background: var(--gradient-accent);
  border-radius: 10px;
  transition: width 0.3s ease;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--primary);
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

.btn-login {
  background: var(--gradient-primary);
  color: white;
  padding: 0.7rem 1.5rem;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  box-shadow: var(--shadow-sm);
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-login::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: 0.5s;
}

.btn-login:hover::before {
  left: 100%;
}

.btn-login:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(37, 99, 235, 0.3);
}
    /* Logo */
.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  transition: transform 0.3s ease;
}

.logo:hover {
  transform: scale(1.03);
}

.logo img {
  height: 60px;
  width: auto;
  transition: transform 0.3s ease;
  filter: drop-shadow(0 4px 6px rgba(37, 99, 235, 0.2));
}

.logo:hover img {
  transform: scale(1.05) rotate(3deg);
}
/* Container Styles */
.container {
  max-width: 800px;
  margin: 2rem auto;
  padding: 2.5rem;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(10px);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.5);
  position: relative;
  overflow: hidden;
}

.container::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 5px;
  height: 0;
  background: var(--gradient-accent);
  transition: height 0.4s ease;
}

.container:hover::before {
  height: 100%;
}

.container h3 {
  font-size: 1.8rem;
  margin-bottom: 2rem;
  color: var(--dark);
  text-align: center;
  font-weight: 700;
  position: relative;
  display: inline-block;
  width: 100%;
}

.container h3::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 4px;
  background: var(--gradient-accent);
  border-radius: 2px;
}

/* Form Styles */
#complaint-form {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

#complaint-form label {
  font-weight: 600;
  color: var(--dark);
  margin-bottom: 0.5rem;
  display: block;
}

#complaint-form input,
#complaint-form select,
#complaint-form textarea {
  width: 100%;
  padding: 1rem 1.2rem;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.5);
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(5px);
  font-size: 1rem;
  transition: all 0.3s ease;
  box-shadow: var(--shadow-sm);
}

#complaint-form input:focus,
#complaint-form select:focus,
#complaint-form textarea:focus {
  outline: none;
  border-color: var(--primary-light);
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.2);
  background: rgba(255, 255, 255, 0.95);
  transform: translateY(-2px);
}

#complaint-form textarea {
  min-height: 120px;
  resize: vertical;
}

#complaint-form button[type="submit"] {
  background: var(--gradient-primary);
  color: white;
  padding: 1rem 2rem;
  border: none;
  border-radius: 50px;
  font-weight: 700;
  font-size: 1.1rem;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
  margin-top: 1rem;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(10px);
}

#complaint-form button[type="submit"]::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0));
  opacity: 0;
  transition: opacity 0.3s ease;
}

#complaint-form button[type="submit"]:hover::before {
  opacity: 1;
}

#complaint-form button[type="submit"]:hover {
  background: var(--gradient-accent);
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

/* File Input Customization */
#complaint-form input[type="file"] {
  padding: 0.8rem;
  background: rgba(255, 255, 255, 0.9);
}

#complaint-form input[type="file"]::file-selector-button {
  background: var(--gradient-primary);
  color: white;
  padding: 0.6rem 1.2rem;
  border: none;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  margin-right: 1rem;
  transition: all 0.3s ease;
}

#complaint-form input[type="file"]::file-selector-button:hover {
  background: var(--primary-dark);
}

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes shimmer {
  0% {
    transform: rotate(30deg) translateX(-100%);
  }
  100% {
    transform: rotate(30deg) translateX(100%);
  }
}

/* Responsive Design */
@media (max-width: 868px) {
  nav {
    flex-direction: column;
    gap: 1.2rem;
    padding: 1.2rem 5%;
  }
  
  .container {
    margin: 1.5rem;
    padding: 2rem;
  }
}

@media (max-width: 480px) {
  .container {
    margin: 1rem;
    padding: 1.5rem;
  }
  
  nav h2 {
    font-size: 1.6rem;
  }
  
  nav button {
    padding: 0.6rem 1.2rem;
    font-size: 0.9rem;
  }
  
  .container h3 {
    font-size: 1.5rem;
  }
  
  #complaint-form input,
  #complaint-form select,
  #complaint-form textarea {
    padding: 0.8rem 1rem;
  }
  
  #complaint-form button[type="submit"] {
    padding: 0.9rem 1.5rem;
    font-size: 1rem;
  }
}