/* Page-specific styles */
.signup-container {
   background: linear-gradient(135deg, var(--primary-color, #A674B3) 0%, var(--primary-dark, #7B4397) 100%);
   min-height: calc(100vh - 80px);
}

.sidebar {
   background: linear-gradient(120deg, var(--primary-darker) 0%, var(--primary-color) 100%);
   /*var(--primary-color, #A674B3);*/
   backdrop-filter: blur(10px);
   min-height: calc(100vh - 80px);
   color: ghostwhite;
   padding: 2rem 2rem;
}

.logo {
   display: flex;
   align-items: center;
   margin-bottom: 2rem;
}

/* Sidebar navigation styling */
.sidebar .nav-menu {
   display: block !important;
   flex-direction: column !important;
   gap: 0 !important;
}

/* Sidebar specific logo styling */
.sidebar .logo-icon {
   width: 40px;
   height: 40px;
   background: white;
   border-radius: 50%;
   display: flex;
   align-items: center;
   justify-content: center;
   margin-right: 1rem;
   color: var(--primary-color, #A674B3);
   font-weight: bold;
}

.progress-section {
   margin-bottom: 2rem;
}

.progress-bar-custom {
   height: 8px;
   background: rgba(255, 255, 255, 0.3);
   border-radius: 4px;
   overflow: hidden;
}

.progress-fill {
   height: 100%;
   background: white;
   border-radius: 4px;
   transition: width 0.3s ease;
}

.nav-item {
   display: flex !important;
   align-items: center !important;
   padding: 1rem 1rem !important;
   cursor: pointer;
   transition: all 0.3s ease;
   width: 100% !important;
   flex-direction: row !important;
   gap: 0 !important;
   /*border-radius: 8px;*/
   margin-bottom: 0.75rem;
}

.nav-item:hover {
   background: rgba(255, 255, 255, 0.1) !important;
   transform: translateX(5px);
}

.nav-item.active {
   /*background: rgba(255, 255, 255, 0.2) !important;*/
   background: rgba(255, 255, 255, 0.15) !important;
   box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
   border-left: 4px solid white;
   color: var(--light-purple);
}

.nav-icon {
   width: 24px;
   height: 24px;
   margin-right: 1rem;
   display: flex;
   align-items: center;
   justify-content: center;
   background: rgba(255, 255, 255, 0.2);
   border-radius: 50%;
   font-size: 12px;
   font-weight: 600;
}

.nav-item.active .nav-icon {
   background: white;
   color: var(--primary-color, #A674B3);
}

.nav-item .fw-bold {
   font-size: 0.875rem;
   display: block !important;
   width: auto !important;
   letter-spacing: 0.3px;
}

.nav-item small {
   display: block !important;
   width: auto !important;
}

.nav-item > div:last-child {
   display: flex !important;
   flex-direction: column !important;
   align-items: flex-start !important;
}

.main-content {
   background: white;
   padding: 2rem;
   border-radius: 0;
   min-height: calc(100vh - 80px);
   box-shadow: 0 0 20px rgba(0, 0, 0, 0.05);
}

.form-step {
   display: none;
   animation: fadeInUp 0.4s ease;
}

.form-step.active {
   display: block;
}

@keyframes fadeInUp {
   from {
      opacity: 0;
      transform: translateY(20px);
   }
   to {
      opacity: 1;
      transform: translateY(0);
   }
}

.step-header {
   margin-bottom: 1.5rem;
   padding-bottom: 1rem;
   border-bottom: 2px solid var(--lighter-border, #dee2e6);
}

.step-title {
   color: var(--primary-darker, #A674B3);
   font-size: 1.9rem;
   font-weight: 900;
   margin-bottom: 0.5rem;
   letter-spacing: 0.5px;
}

.step-subtitle {
   color: var(--text-color, #333);
   font-size: 0.95rem;
}

/* Improved form styling with Bootstrap */

/*.form-floating { it was there in src. file.*/
/*    margin-bottom: 1rem;*/
/*}*/

.form-label {
   font-weight: 600;
   letter-spacing: 0.025em ;
}

.form-control, .form-select {
   /*border: 1px solid var(--lighter-border);*/
   transition: all 0.3s ease;
   /*background: var(--lighter-input-bg);*/
   /*background: white;*/
   background: #f8f9fa;
   /*width: 80%;*/
   font-weight: 500;
}

.form-control:focus, .form-select:focus {
   border-color: var(--primary-color, #A674B3);
   box-shadow: 0 0 0 0.2rem rgba(166, 116, 179, 0.25);
}

.btn {
   border-radius: 0.5rem;
   padding: 0.75rem 2rem;
   font-weight: 600;
   transition: all 0.3s ease;
}

.btn:hover {
   transform: translateY(-1px);
   box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.step-navigation {
   background: #f8f9fa;
   padding: 1.5rem;
   margin-top: 2rem;
   border-radius: 0.5rem;
   border-top: 1px solid #dee2e6;
}

.mobile-stepper {
   display: none;
}

.mobile-all-steps {
   display: none;
   background: var(--primary-color, #A674B3);
   padding: 0.8rem 1rem;
   color: white;
}

.mobile-steps-container {
   display: flex;
   gap: 0.3rem;
   justify-content: space-between;
   width: 100%;
   padding-bottom: 0.5rem;
}

.mobile-step-item {
   display: flex;
   flex-direction: column;
   align-items: center;
   flex: 1;
   padding: 0.4rem;
   border-radius: 6px;
   transition: all 0.3s ease;
   opacity: 0.4;
   text-align: center;
   cursor: pointer;
}

.mobile-step-item.current {
   opacity: 1;
   background: rgba(255, 255, 255, 0.2);
   transform: scale(1.02);
}

.mobile-step-title {
   font-size: 0.65rem;
   font-weight: 500;
   line-height: 1.2;
   color: white;
}

@media (max-width: 768px) {
   .sidebar {
      display: none;
   }

   .mobile-stepper {
      display: block;
      background: var(--primary-color, #A674B3);
      padding: 1rem;
      color: white;
   }

   .mobile-all-steps {
      display: block;
   }

   .mobile-progress {
      height: 4px;
      background: rgba(255, 255, 255, 0.3);
      border-radius: 2px;
      margin: 1rem 0;
   }

   .mobile-progress-fill {
      height: 100%;
      background: white;
      border-radius: 2px;
      transition: width 0.3s ease;
   }

   .mobile-step-info {
      font-size: 0.75rem;
      margin-top: 0.5rem;
      opacity: 0.9;
   }

   /*below css class was there in src.*/
   .mobile-step-info small {
      font-weight: 500;
   }

   .main-content {
      padding: 2rem 1.5rem;
   }

   .step-title {
      font-size: 1.4rem;
   }
}

.textarea-custom {
   min-height: 120px;
   resize: vertical;
}

.form-control::placeholder,
.form-select option:first-child {
   color: var(--text-lighter);
   font-size: 0.85rem;
}

.errorMessage {
   color: #dc3545;
   font-size: 0.85rem;
   margin-left: 0.5rem;
}