:root {
  --primary-color: #6366f1;
  --primary-hover: #4f46e5;
  --secondary-color: #f8fafc;
  --accent-color: #06b6d4;
  --text-primary: #1e293b;
  --text-secondary: #64748b;
  --form-bg: #ffffff;
  --error-color: #ef4444;
  --success-color: #10b981;
  --border-color: #e2e8f0;
  --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
  --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
  --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
  --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  line-height: 1.6;
  color: var(--text-primary);
  min-height: 100vh;
}

/* Modern Navbar with Glassmorphism */
.custom-navbar {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: var(--shadow-md);
  padding: 1rem 0;
}

.custom-navbar .navbar-brand {
  font-weight: 700;
  font-size: 1.5rem;
  letter-spacing: -0.025em;
}

.custom-navbar .nav-link {
  color: var(--text-primary) !important;
  font-weight: 500;
  padding: 0.5rem 1rem !important;
  border-radius: 0.5rem;
  transition: all 0.2s ease;
  position: relative;
}

.custom-navbar .nav-link:hover {
  background-color: rgba(99, 102, 241, 0.1);
  color: var(--primary-color) !important;
  transform: translateY(-1px);
}

.custom-navbar .nav-link.active {
  background-color: rgba(99, 102, 241, 0.15);
  color: var(--primary-color) !important;
}

/* User Profile Styling */
.profile-section {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.profile-img {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--primary-color);
  transition: transform 0.2s ease;
}

.profile-img:hover {
  transform: scale(1.05);
}

.user-name {
  color: var(--text-primary);
  font-weight: 600;
  font-size: 0.875rem;
}

/* Modern Container */
.container {
  max-width: 100vw;
  margin: 0 auto;
  padding: 0 1rem;
}

/* Responsive Grid System */
@media (max-width: 768px) {
  .custom-navbar {
    padding: 0.75rem 0;
  }
  
  .custom-navbar .navbar-brand {
    font-size: 1.25rem;
  }
  
  .profile-section {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }
}

/* Modern Auth Card */
.auth-container {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: calc(100vh - 120px);
  padding: 2rem 1rem;
}

.auth-card {
  display: flex;
  background: var(--form-bg);
  border-radius: 1.5rem;
  box-shadow: var(--shadow-xl);
  overflow: hidden;
  max-width: 1000px;
  width: 100%;
  min-height: 600px;
  border: 1px solid var(--border-color);
}

.auth-image {
  flex: 1;
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
  color: white;
  padding: 3rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.auth-image::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="50" cy="50" r="1" fill="white" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
  opacity: 0.3;
}

.auth-image h2 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  line-height: 1.2;
}

.auth-image p {
  font-size: 1.125rem;
  opacity: 0.9;
  line-height: 1.6;
}

.auth-form {
  flex: 1;
  padding: 3rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.auth-form h3 {
  color: var(--primary-color);
  font-weight: 700;
  font-size: 1.875rem;
  margin-bottom: 2rem;
  text-align: center;
}

/* Modern Form Styling */
.form-group {
  margin-bottom: 1.5rem;
}

.form-label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 600;
  color: var(--text-primary);
  font-size: 0.875rem;
}

.form-control {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid var(--border-color);
  border-radius: 0.5rem;
  font-size: 1rem;
  transition: all 0.2s ease;
  background-color: #ffffff;
}

.form-control:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary-color), var(--primary-hover));
  border: none;
  padding: 0.875rem 1.5rem;
  border-radius: 0.5rem;
  font-weight: 600;
  font-size: 1rem;
  transition: all 0.2s ease;
  box-shadow: var(--shadow-md);
<<<<<<< HEAD
=======
  z-index:1;
>>>>>>> 7d52c8d34a6986d7c50c0dd9b7242cb56415cde1
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: var(--shadow-lg);
}

.btn-primary:active {
  transform: translateY(0);
}

/* Signup Options */
.signup-section {
  text-align: center;
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border-color);
}

.signup-title {
  color: var(--text-secondary);
  font-size: 0.875rem;
  margin-bottom: 1rem;
}

.signup-options {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.signup-options a {
  text-decoration: none;
  padding: 0.75rem 1.5rem;
  border-radius: 0.5rem;
  font-weight: 600;
  font-size: 0.875rem;
  transition: all 0.2s ease;
  flex: 1;
  min-width: 140px;
  text-align: center;
}

.signup-customer {
  background: var(--primary-color);
  color: white;
}

.signup-customer:hover {
  background: var(--primary-hover);
  transform: translateY(-1px);
}

.signup-technician {
  background: transparent;
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
}

.signup-technician:hover {
  background: var(--primary-color);
  color: white;
  transform: translateY(-1px);
}

/* Responsive Design */
@media (max-width: 991px) {
  .auth-card {
    max-width: 90%;
    min-height: auto;
  }
  
  .auth-image, .auth-form {
    padding: 2rem;
  }
  
  .auth-image h2 {
    font-size: 2rem;
  }
}

@media (max-width: 768px) {
  .auth-container {
    padding: 1rem;
  }
  
  .auth-card {
    flex-direction: column;
    max-width: 100%;
    min-height: auto;
  }
  
  .auth-image {
    padding: 2rem;
    text-align: center;
  }
  
  .auth-image h2 {
    font-size: 1.75rem;
  }
  
  .auth-form {
    padding: 2rem;
  }
  
  .signup-options {
    flex-direction: column;
  }
  
  .signup-options a {
    min-width: auto;
  }
}

@media (max-width: 480px) {
  .auth-image, .auth-form {
    padding: 1.5rem;
  }
  
  .auth-image h2 {
    font-size: 1.5rem;
  }
}

/* Utility Classes */
.text-center {
  text-align: center;
}

.mt-4 {
  margin-top: 1.5rem;
}

.mb-4 {
  margin-bottom: 1.5rem;
}

.w-100 {
  width: 100%;
}

/* Smooth Scrolling */
html {
  scroll-behavior: smooth;
}

/* Loading Animation */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-in {
  animation: fadeIn 0.5s ease-out;
}

/* Feature Items */
.features {
  margin-top: 2rem;
}

.feature-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
  font-size: 0.875rem;
}

.feature-item i {
  font-size: 1.25rem;
}

/* Form Header */
.form-header {
  text-align: center;
  margin-bottom: 2rem;
}

.form-header p {
  color: var(--text-secondary);
  margin-top: 0.5rem;
}

/* Modern Form */
.modern-form {
  width: 100%;
}

/* Alert Styling */
.alert {
  border-radius: 0.5rem;
  border: none;
  box-shadow: var(--shadow-sm);
}

/* Dropdown Menu */
.dropdown-menu {
  border: none;
  box-shadow: var(--shadow-lg);
  border-radius: 0.5rem;
}

.dropdown-item {
  padding: 0.5rem 1rem;
  transition: all 0.2s ease;
}

.dropdown-item:hover {
  background-color: rgba(99, 102, 241, 0.1);
  color: var(--primary-color);
}

#id_username,
#id_password{
  text-align: center;
}

