/*
 * ================================================================================
 * SUTRAM TEXTILE ERP - COMPLETE STYLE FRAMEWORK
 * ================================================================================
 * Complete CSS Framework for SUTRAM Textile ERP System
 * Includes Bootstrap, Font Awesome, and all essential styles from original sutram
 * 
 * Features:
 * - Complete Bootstrap 5.3.0 framework
 * - Font Awesome 4.7.0 icons
 * - Bootstrap Icons
 * - Simple Line Icons
 * - Weather Icons
 * - SUTRAM brand colors and typography
 * - Responsive design components
 * - Enhanced form controls
 * - Professional dashboard elements
 * - Textile industry specific styling
 * 
 * Version: 1.0.0
 * Created: September 2025
 * ================================================================================
 */

/* ================================================================================
 * BOOTSTRAP 5.3.0 FRAMEWORK (COMPLETE)
 * ================================================================================*/

@import url("https://cdn.jsdelivr.net/npm/bootstrap@5.3.0/dist/css/bootstrap.min.css");

/* ================================================================================
 * EXTERNAL FONT AND ICON IMPORTS
 * ================================================================================*/

@import url("https://fonts.googleapis.com/css2?family=Open+Sans:wght@300;400;500;600;700&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Quicksand:wght@300;400;500;600;700&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Nunito:wght@300;400;600;700&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Raleway:wght@300;400;500;600;700&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap");
@import url("https://fonts.googleapis.com/css2?family=JetBrains+Mono:wght@400;500;600&display=swap");

/* Font Awesome Icons */
@import url("https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css");

/* Bootstrap Icons - Updated to latest version */
@import url("https://cdn.jsdelivr.net/npm/bootstrap-icons@1.11.0/font/bootstrap-icons.css");

/* Simple Line Icons */
@import url("https://cdnjs.cloudflare.com/ajax/libs/simple-line-icons/2.5.5/css/simple-line-icons.min.css");

/* Weather Icons */
@import url("https://cdnjs.cloudflare.com/ajax/libs/weather-icons/2.0.12/css/weather-icons.min.css");

/* Toastr CSS for notifications */
@import url("https://cdnjs.cloudflare.com/ajax/libs/toastr.js/latest/toastr.css");

/* ================================================================================
 * BOOTSTRAP ICONS ENHANCEMENTS & ANIMATIONS
 * ================================================================================*/

/* Bootstrap Icons general enhancements */
.bi {
  font-family: "bootstrap-icons" !important;
  font-style: normal !important;
  font-variant: normal !important;
  text-rendering: auto !important;
  line-height: 1 !important;
  -webkit-font-smoothing: antialiased !important;
  -moz-osx-font-smoothing: grayscale !important;
  display: inline-block !important;
  font-weight: normal !important;
}

/* Spin animation for Bootstrap Icons */
@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

/* Password toggle icon enhancements */
#togglePassword .bi {
  font-size: 1rem !important;
  transition: color 0.3s ease;
}

#togglePassword:hover .bi {
  color: var(--primary-color, #2794eb) !important;
}

/* Login button icon enhancements */
.loginSubmit .bi {
  font-size: 1.1rem !important;
  vertical-align: middle;
}

/* ================================================================================
 * SUTRAM CSS CUSTOM PROPERTIES (VARIABLES) - BOOTSTRAP OVERRIDES
 * ================================================================================*/

:root {
  /* SUTRAM Brand Colors - Override Bootstrap with Blue Theme (DEFAULT) */
  --bs-primary: #2794eb;
  --bs-primary-rgb: 39, 148, 235;
  --bs-secondary: #764ba2;
  --bs-secondary-rgb: 118, 75, 162;

  /* SUTRAM Custom Brand Colors with Blue Theme */
  --sutram-primary: #2794eb;
  --primary-color: #2794eb;
  --sutram-secondary: #764ba2;
  --sutram-gradient: linear-gradient(
    135deg,
    #2794eb 0%,
    #764ba2 50%,
    #2794eb 100%
  );
  --sutram-gradient-light: linear-gradient(
    135deg,
    rgba(39, 148, 235, 0.1) 0%,
    rgba(118, 75, 162, 0.1) 100%
  );

  /* Override Bootstrap Color System */
  --bs-success: #10b981;
  --bs-success-rgb: 16, 185, 129;
  --bs-warning: #f59e0b;
  --bs-warning-rgb: 245, 158, 11;
  --bs-danger: #ef4444;
  --bs-danger-rgb: 239, 68, 68;
  --bs-info: #3b82f6;
  --bs-info-rgb: 59, 130, 246;

  /* Extended Color Palette */
  --sutram-success: #10b981;
  --sutram-warning: #f59e0b;
  --sutram-danger: #ef4444;
  --sutram-info: #3b82f6;

  /* Neutral Colors */
  --sutram-dark: #1f2937;
  --sutram-light: #f8fafc;
  --sutram-white: #ffffff;
  --sutram-card-bg: #f4f7f6;
  --sutram-border-color: #334155;
  --body-color: #f4f7f6;
  --card-color: #f4f7f6;
  --border-color: #e9e6e1;
  --sutram-gray-50: #f9fafb;
  --sutram-gray-100: #f3f4f6;
  --sutram-gray-200: #e5e7eb;
  --sutram-gray-300: #d1d5db;
  --sutram-gray-400: #9ca3af;
  --sutram-gray-500: #6b7280;
  --sutram-gray-600: #4b5563;
  --sutram-gray-700: #374151;
  --sutram-gray-800: #1f2937;
  --sutram-gray-900: #111827;

  /* Typography - Override Bootstrap */
  --bs-body-font-family:
    "Nunito", "Inter", "Open Sans", -apple-system, BlinkMacSystemFont,
    "Segoe UI", Roboto, sans-serif !important;
  --bs-font-sans-serif:
    "Nunito", "Inter", "Open Sans", -apple-system, BlinkMacSystemFont,
    "Segoe UI", Roboto, sans-serif !important;
  --sutram-font-family:
    "Nunito", "Inter", "Open Sans", -apple-system, BlinkMacSystemFont,
    "Segoe UI", Roboto, sans-serif;
  --sutram-font-mono:
    "JetBrains Mono", "SF Mono", Monaco, Inconsolata, "Roboto Mono", monospace;

  /* Font Sizes */
  --sutram-text-xs: 0.75rem;
  --sutram-text-sm: 0.875rem;
  --sutram-text-base: 1rem;
  --sutram-text-lg: 1.125rem;
  --sutram-text-xl: 1.25rem;
  --sutram-text-2xl: 1.5rem;
  --sutram-text-3xl: 1.875rem;
  --sutram-text-4xl: 2.25rem;
  --sutram-text-5xl: 3rem;

  /* Override Bootstrap Button Colors */
  --bs-btn-color: #fff;
  --bs-btn-bg: var(--sutram-primary);
  --bs-btn-border-color: var(--sutram-primary);
  --bs-btn-hover-color: #fff;
  --bs-btn-hover-bg: var(--sutram-secondary);
  --bs-btn-hover-border-color: var(--sutram-secondary);
  --bs-btn-focus-shadow-rgb: 102, 126, 234;
  --bs-btn-active-color: #fff;
  --bs-btn-active-bg: var(--sutram-secondary);
  --bs-btn-active-border-color: var(--sutram-secondary);

  /* SUTRAM Specific Spacing */
  --sutram-space-1: 0.25rem;
  --sutram-space-2: 0.5rem;
  --sutram-space-3: 0.75rem;
  --sutram-space-4: 1rem;
  --sutram-space-5: 1.25rem;
  --sutram-space-6: 1.5rem;
  --sutram-space-8: 2rem;
  --sutram-space-10: 2.5rem;
  --sutram-space-12: 3rem;
  --sutram-space-16: 4rem;
  --sutram-space-20: 5rem;

  /* Border Radius */
  --sutram-radius-sm: 0.25rem;
  --sutram-radius: 0.375rem;
  --sutram-radius-md: 0.5rem;
  --sutram-radius-lg: 0.75rem;
  --sutram-radius-xl: 1rem;
  --sutram-radius-2xl: 1.5rem;
  --sutram-radius-full: 9999px;

  /* Shadows */
  --sutram-shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --sutram-shadow:
    0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
  --sutram-shadow-md:
    0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --sutram-shadow-lg:
    0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --sutram-shadow-xl:
    0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);

  /* Transitions */
  --sutram-transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --sutram-transition-fast: all 0.1s cubic-bezier(0.4, 0, 0.2, 1);
  --sutram-transition-slow: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ================================================================================
 * BOOTSTRAP COMPONENT OVERRIDES WITH SUTRAM BRANDING
 * ================================================================================*/

/* Font Family Enforcement */
body,
.form-control,
.btn,
.card,
.alert,
input,
textarea,
select,
h1,
h2,
h3,
h4,
h5,
h6,
.h1,
.h2,
.h3,
.h4,
.h5,
.h6 {
  font-family: var(--sutram-font-family) !important;
}

/* Primary Button Override with SUTRAM Gradient */
.btn-primary {
  background: var(--sutram-gradient) !important;
  border: none !important;
  font-weight: 600;
  border-radius: var(--sutram-radius-md);
  transition: var(--sutram-transition);
  box-shadow: var(--sutram-shadow-sm);
  font-family: var(--sutram-font-family) !important;
}

.btn-primary:hover {
  background: linear-gradient(
    135deg,
    #5a6fd8 0%,
    #6a4190 50%,
    #5a6fd8 100%
  ) !important;
  transform: translateY(-1px);
  box-shadow: var(--sutram-shadow-md);
}

.btn-primary:focus {
  box-shadow: 0 0 0 2px rgba(39, 148, 235, 0.15) !important;
}

/* Secondary Button Override */
.btn-secondary {
  background-color: var(--sutram-gray-100) !important;
  border-color: var(--sutram-gray-300) !important;
  color: var(--sutram-gray-700) !important;
}

.btn-secondary:hover {
  background-color: var(--sutram-gray-200) !important;
  border-color: var(--sutram-gray-400) !important;
  color: var(--sutram-gray-800) !important;
}

/* Form Control Overrides */
.form-control:focus {
  border-color: var(--sutram-primary) !important;
  box-shadow: 0 0 0 2px rgba(39, 148, 235, 0.08) !important;
}

.form-check-input:checked {
  background-color: var(--sutram-primary) !important;
  border-color: var(--sutram-primary) !important;
}

.form-check-input:focus {
  border-color: var(--sutram-primary) !important;
  outline: 0;
  box-shadow: 0 0 0 0.25rem rgba(102, 126, 234, 0.25) !important;
}

/* Alert Overrides with SUTRAM Styling */
.alert-success {
  background: linear-gradient(
    135deg,
    rgba(16, 185, 129, 0.1),
    rgba(16, 185, 129, 0.05)
  ) !important;
  border-left: 4px solid var(--sutram-success) !important;
  border-radius: var(--sutram-radius-md);
  color: #065f46 !important;
}

.alert-danger {
  background: linear-gradient(
    135deg,
    rgba(239, 68, 68, 0.1),
    rgba(239, 68, 68, 0.05)
  ) !important;
  border-left: 4px solid var(--sutram-danger) !important;
  border-radius: var(--sutram-radius-md);
  color: #7f1d1d !important;
}

.alert-warning {
  background: linear-gradient(
    135deg,
    rgba(245, 158, 11, 0.1),
    rgba(245, 158, 11, 0.05)
  ) !important;
  border-left: 4px solid var(--sutram-warning) !important;
  border-radius: var(--sutram-radius-md);
  color: #78350f !important;
}

.alert-info {
  background: linear-gradient(
    135deg,
    rgba(59, 130, 246, 0.1),
    rgba(59, 130, 246, 0.05)
  ) !important;
  border-left: 4px solid var(--sutram-info) !important;
  border-radius: var(--sutram-radius-md);
  color: #1e3a8a !important;
}

/* Card Overrides */
.card {
  border-color: var(--border-color);
  background-color: var(--body-color);
  border-style: dashed;
  border-radius: 0.75rem;
  box-shadow: var(--bs-box-shadow, 0 0.5rem 1rem rgba(0, 0, 0, 0.15));
  transition: all 0.3s ease;
}

.card:hover {
  border-color: var(--bs-primary, #667eea);
  box-shadow: var(--bs-box-shadow-lg, 0 1rem 3rem rgba(0, 0, 0, 0.175));
}

/* Modal Overrides */
.modal-content {
  border-radius: var(--sutram-radius-lg) !important;
  box-shadow: var(--sutram-shadow-xl) !important;
}

/* Navbar Overrides */
.navbar-brand {
  font-weight: 700 !important;
  color: var(--sutram-primary) !important;
}

.nav-link {
  transition: var(--sutram-transition);
}

.nav-link:hover {
  color: var(--sutram-primary) !important;
}

/* ================================================================================
 * SUTRAM SPECIFIC COMPONENTS AND LAYOUT CLASSES
 * ================================================================================*/

/* Page Body Auth Layout */
.page-body.auth {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--body-color);
  position: relative;
}

/* Button Enhancements */
.btn-block {
  display: block;
  width: 100%;
}

.btn-dark {
  background: var(--sutram-gradient) !important;
  border: none !important;
  color: white !important;
}

.btn-dark:hover {
  background: linear-gradient(
    135deg,
    #5a6fd8 0%,
    #6a4190 50%,
    #5a6fd8 100%
  ) !important;
  color: white !important;
}

.lift {
  transition: var(--sutram-transition-slow) !important;
}

.lift:hover {
  transform: translateY(-2px) !important;
  box-shadow: var(--sutram-shadow-lg) !important;
}

/* Text Transform */
.text-uppercase {
  text-transform: uppercase !important;
  letter-spacing: 0.5px;
}

/* SUTRAM Logo Styles */
.sutram-logo h1 {
  font-size: var(--sutram-text-5xl);
  font-weight: 900;
  font-style: italic;
  background: var(--sutram-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin: 0;
  text-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  letter-spacing: 2px;
  position: relative;
}

.sutram-logo {
  position: relative;
}

.sutram-underline {
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 100%;
  height: 3px;
  background: var(--sutram-gradient);
  border-radius: 2px;
  box-shadow: 0 2px 4px rgba(255, 191, 0, 0.3);
}

.sutram-accent-dot {
  position: absolute;
  top: 8px;
  right: -12px;
  width: 8px;
  height: 8px;
  background: var(--sutram-gradient);
  border-radius: 50%;
  box-shadow: 0 2px 4px rgba(212, 175, 55, 0.3);
}

/* SUTRAM Gradient Backgrounds */
.bg-sutram-gradient {
  background: var(--sutram-gradient) !important;
}

.bg-sutram-gradient-light {
  background: var(--sutram-gradient-light) !important;
}

/* SUTRAM Cards */
.sutram-card {
  background: var(--sutram-white);
  border: 1px solid var(--sutram-gray-200);
  border-radius: var(--sutram-radius-xl);
  box-shadow: var(--sutram-shadow-lg);
  overflow: hidden;
  transition: var(--sutram-transition-slow);
}

.sutram-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--sutram-shadow-xl);
}

.sutram-card-header {
  background: var(--sutram-gradient-light);
  border-bottom: 1px solid var(--sutram-gray-200);
  padding: var(--sutram-space-6);
}

/* SUTRAM Navigation */
.sutram-nav {
  background: var(--sutram-white);
  border-bottom: 1px solid var(--sutram-gray-200);
  box-shadow: var(--sutram-shadow-sm);
}

.sutram-nav-link {
  color: var(--sutram-gray-600);
  text-decoration: none;
  padding: var(--sutram-space-3) var(--sutram-space-4);
  border-radius: var(--sutram-radius);
  transition: var(--sutram-transition);
}

.sutram-nav-link:hover {
  color: var(--sutram-primary);
  background-color: var(--sutram-gradient-light);
}

.sutram-nav-link.active {
  color: var(--sutram-primary);
  background: var(--sutram-gradient-light);
  font-weight: 500;
}

/* SUTRAM Tables */
.sutram-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--sutram-white);
  border-radius: var(--sutram-radius-lg);
  overflow: hidden;
  box-shadow: var(--sutram-shadow-sm);
}

.sutram-table th {
  background: var(--sutram-gradient-light);
  color: var(--sutram-gray-700);
  font-weight: 600;
  padding: var(--sutram-space-4);
  text-align: left;
  border-bottom: 1px solid var(--sutram-gray-200);
}

.sutram-table td {
  padding: var(--sutram-space-4);
  border-bottom: 1px solid var(--sutram-gray-100);
  color: var(--sutram-gray-600);
}

.sutram-table tbody tr:hover {
  background-color: var(--sutram-gray-50);
}

/* SUTRAM Badges */
.sutram-badge {
  display: inline-flex;
  align-items: center;
  padding: var(--sutram-space-1) var(--sutram-space-3);
  font-size: var(--sutram-text-xs);
  font-weight: 500;
  border-radius: var(--sutram-radius-full);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.sutram-badge-primary {
  color: white;
  background: var(--sutram-gradient);
}

.sutram-badge-success {
  color: white;
  background-color: var(--sutram-success);
}

.sutram-badge-warning {
  color: white;
  background-color: var(--sutram-warning);
}

.sutram-badge-danger {
  color: white;
  background-color: var(--sutram-danger);
}

/* ================================================================================
 * RESPONSIVE DESIGN AND BOOTSTRAP UTILITIES
 * ================================================================================*/

/* Additional Bootstrap Spacing Classes */
.px-xl-4 {
  padding-left: 1.5rem !important;
  padding-right: 1.5rem !important;
}
.px-sm-2 {
  padding-left: 0.5rem !important;
  padding-right: 0.5rem !important;
}
.px-0 {
  padding-left: 0 !important;
  padding-right: 0 !important;
}
.py-lg-2 {
  padding-top: 0.5rem !important;
  padding-bottom: 0.5rem !important;
}
.py-1 {
  padding-top: 0.25rem !important;
  padding-bottom: 0.25rem !important;
}

/* Grid Classes */
.g-3 {
  --bs-gutter-x: 1rem;
  --bs-gutter-y: 1rem;
}

.g-3 > * {
  margin-top: var(--bs-gutter-y);
  padding-right: calc(var(--bs-gutter-x) * 0.5);
  padding-left: calc(var(--bs-gutter-x) * 0.5);
}

/* Responsive Text Classes */
@media (max-width: 576px) {
  .px-sm-2 {
    padding-left: 0.5rem !important;
    padding-right: 0.5rem !important;
  }
}

@media (min-width: 992px) {
  .py-lg-2 {
    padding-top: 0.5rem !important;
    padding-bottom: 0.5rem !important;
  }
}

@media (min-width: 1200px) {
  .px-xl-4 {
    padding-left: 1.5rem !important;
    padding-right: 1.5rem !important;
  }
}

@media (max-width: 576px) {
  .sutram-logo-container {
    height: 50px;
  }

  .sutram-logo h1 {
    font-size: var(--sutram-text-2xl) !important;
  }

  .btn-lg {
    padding: var(--sutram-space-3) var(--sutram-space-6);
    font-size: var(--sutram-text-base);
  }
}

@media (max-width: 768px) {
  .d-md-none {
    display: none !important;
  }
  .d-md-block {
    display: block !important;
  }
  .d-md-flex {
    display: flex !important;
  }

  .text-md-center {
    text-align: center !important;
  }
  .text-md-left {
    text-align: left !important;
  }
}

@media (min-width: 992px) {
  .d-lg-none {
    display: none !important;
  }
  .d-lg-block {
    display: block !important;
  }
  .d-lg-flex {
    display: flex !important;
  }
}

/* ================================================================================
 * PRINT STYLES
 * ================================================================================*/

@media print {
  * {
    background: transparent !important;
    color: black !important;
    box-shadow: none !important;
    text-shadow: none !important;
  }

  .btn,
  .sutram-nav,
  .alert {
    display: none !important;
  }

  .sutram-card,
  .card {
    border: 1px solid #000 !important;
    page-break-inside: avoid;
  }
}

/* ================================================================================
 * ACCESSIBILITY IMPROVEMENTS
 * ================================================================================*/

/* Focus indicators for keyboard navigation */
*:focus {
  outline: 2px solid var(--sutram-primary);
  outline-offset: 2px;
}

/* Reduce motion for users who prefer it */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
  .btn {
    border-width: 2px;
  }

  .form-control {
    border-width: 2px;
  }

  .card,
  .sutram-card {
    border-width: 2px;
  }
}

/* SUTRAM Logo Container */
.sutram-logo-container {
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
}

.sutram-tagline {
  margin-top: 8px;
  margin-left: 4px;
}

.sutram-tagline span {
  font-size: 0.85rem;
  color: var(--sutram-gray-500);
  font-weight: 500;
  letter-spacing: 3px;
  text-transform: uppercase;
  opacity: 0.8;
}

/* Module Icon Styles */
.module-icon {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.module-icon-blue {
  background: linear-gradient(
    45deg,
    var(--sutram-primary),
    var(--sutram-secondary)
  );
}

.module-icon-purple {
  background: linear-gradient(
    45deg,
    var(--sutram-secondary),
    var(--sutram-primary)
  );
}

/* Elegant Dashed Separator */
.elegant-separator {
  position: relative;
  text-align: center;
}

.elegant-separator-line {
  height: 1px;
  background: linear-gradient(
    to right,
    transparent 0%,
    var(--sutram-primary) 20%,
    var(--sutram-secondary) 50%,
    var(--sutram-primary) 80%,
    transparent 100%
  );
  border-top: 2px dashed var(--sutram-primary);
  opacity: 0.4;
  margin: 20px 0;
}

.elegant-separator-center {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 12px;
  height: 12px;
  background: var(--sutram-gradient);
  border-radius: 50%;
  border: 2px solid white;
  box-shadow: 0 2px 8px rgba(102, 126, 234, 0.3);
}

.elegant-separator-dot-left {
  position: absolute;
  top: 50%;
  left: 25%;
  transform: translate(-50%, -50%);
  width: 6px;
  height: 6px;
  background: var(--sutram-secondary);
  border-radius: 50%;
  opacity: 0.6;
}

.elegant-separator-dot-right {
  position: absolute;
  top: 50%;
  right: 25%;
  transform: translate(50%, -50%);
  width: 6px;
  height: 6px;
  background: var(--sutram-primary);
  border-radius: 50%;
  opacity: 0.6;
}

/* Key Features Container */
.key-features-container {
  padding: 8px;
  border: 1px dashed var(--sutram-primary);
  border-radius: 12px;
  background: var(--sutram-gradient-light);
  position: relative;
}

.key-features-corner-blue {
  position: absolute;
  top: -6px;
  left: -6px;
  width: 12px;
  height: 12px;
  background: var(--sutram-primary);
  border-radius: 2px;
  transform: rotate(45deg);
}

.key-features-corner-purple {
  position: absolute;
  top: -6px;
  right: -6px;
  width: 12px;
  height: 12px;
  background: var(--sutram-secondary);
  border-radius: 2px;
  transform: rotate(45deg);
}

/* Feature Icons */
.feature-icon {
  position: relative;
}

.feature-icon-blue {
  color: var(--sutram-primary);
}

.feature-icon-purple {
  color: var(--sutram-secondary);
}

/* Feature Separators */
.feature-separator {
  position: absolute;
  right: -16px;
  top: 50%;
  transform: translateY(-50%);
  width: 2px;
  height: 30px;
  opacity: 0.3;
}

.feature-separator-blue {
  background: linear-gradient(
    to bottom,
    transparent,
    var(--sutram-primary),
    transparent
  );
}

.feature-separator-purple {
  background: linear-gradient(
    to bottom,
    transparent,
    var(--sutram-secondary),
    transparent
  );
}

/* Decorative Textile SVG */
.textile-decoration-svg {
  position: fixed;
  bottom: 25px;
  left: 25px;
  width: 140px;
  height: 140px;
  opacity: 0.6;
  z-index: 10;
  pointer-events: none;
  transform: rotate(-8deg);
}

/* Module Cards */
.module-card {
  transition: var(--sutram-transition-slow);
  border: 1px solid var(--sutram-gray-200);
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.9),
    rgba(248, 249, 250, 0.9)
  );
}

.module-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(102, 126, 234, 0.15);
  border-color: var(--sutram-primary);
}

.module-title {
  color: var(--sutram-gray-700);
  font-weight: 600;
  font-size: 0.95rem;
}

.module-description {
  color: var(--sutram-gray-500);
  font-size: 0.8rem;
  line-height: 1.4;
}

/* Form Card Enhancement with Simple Dashed Border */
.card.card-body,
.card.shadow-sm {
  background-color: var(--body-color) !important;
  border: 1px dashed rgba(102, 126, 234, 0.2) !important;
  border-radius: 0.75rem !important;
  box-shadow: var(--bs-box-shadow, 0 0.5rem 1rem rgba(0, 0, 0, 0.15));
  position: relative;
}

/* Simple hover effect - no animation */
.card.shadow-sm:hover {
  border-color: rgba(102, 126, 234, 0.4) !important;
}

/* Card inner content styling */
.card.shadow-sm .form-label {
  color: #374151;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.card.shadow-sm h1 {
  color: #1f2937;
  font-weight: 700;
  background: linear-gradient(135deg, #667eea, #764ba2);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ================================================================================
 * MAIN LOGIN CARD WITH DASHED BORDER (SEPARATE FROM REMEMBER SECTION)
 * ================================================================================*/

/* Main login card styling - dashed border container */
.login-main-card {
  background-color: var(--body-color) !important;
  border: 2px dashed var(--border-color) !important;
  border-radius: 0.75rem !important;
  box-shadow: var(
    --bs-box-shadow,
    0 0.5rem 1rem rgba(0, 0, 0, 0.15)
  ) !important;
  position: relative;
  transition: all 0.3s ease;
}

.login-main-card:hover {
  border-color: var(--bs-primary, #667eea) !important;
  box-shadow: var(
    --bs-box-shadow-lg,
    0 1rem 3rem rgba(0, 0, 0, 0.175)
  ) !important;
  transform: translateY(-2px);
}

/* ================================================================================
 * INPUT SIZE CONSISTENCY AND STYLING
 * ================================================================================*/

/* Ensure all form inputs have consistent sizing */
.login-main-card .form-control,
.login-main-card .form-control-lg {
  font-size: 1.125rem !important;
  padding: 0.75rem 1rem !important;
  height: calc(1.2em + 1rem + 2px) !important;
  border: 1px solid var(--border-color) !important;
  /* border-radius: 0.375rem !important; */
  font-family: "Inter", sans-serif !important;
  transition:
    border-color 0.15s ease-in-out,
    box-shadow 0.15s ease-in-out;
  background-color: var(--bs-body-bg, #fff);
  color: var(--bs-body-color, #212529);
}

/* Password input with toggle - ensure consistent height */
.login-main-card .password-input-container .form-control {
  padding-right: 4rem !important;
  height: calc(1.2em + 1rem + 2px) !important;
}

/* Focus states for inputs - original theme style */
.login-main-card .form-control:focus {
  border-color: var(--bs-primary, #2794eb) !important;
  outline: 0 !important;
  box-shadow: 0 0 0 2px rgba(39, 148, 235, 0.08) !important;
}

.login-main-card .form-control:hover:not(:focus) {
  border-color: var(--bs-border-color-translucent, rgba(0, 0, 0, 0.175));
}

/* ================================================================================
 * sutram-INSPIRED ENHANCED INPUT STYLING
 * ================================================================================*/

/* Enhanced Form Controls with sutram styling */
.sutram-input,
.form-control.sutram-style {
  background-color: var(--body-color);
  border: 1px solid var(--border-color);
  border-radius: 10px;
  padding: 0.85rem 1.25rem;
  font-size: 0.95rem;
  color: var(--text-color);
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
  position: relative;
  overflow: hidden;
  font-family: var(--sutram-font-family) !important;
}

.sutram-input:focus,
.form-control.sutram-style:focus {
  border-color: var(--primary-color);
  background-color: #ffffff;
  box-shadow: 0 0 0 2px rgba(39, 148, 235, 0.08);
  transform: translateY(-1px);
  outline: none;
}

.sutram-input::placeholder,
.form-control.sutram-style::placeholder {
  color: rgba(108, 117, 125, 0.7);
  transition: color 0.3s ease;
}

.sutram-input:focus::placeholder,
.form-control.sutram-style:focus::placeholder {
  color: rgba(33, 49, 62, 0.6);
}

/* Enhanced Form Groups */
.form-group.sutram-style {
  margin-bottom: 1.5rem;
  position: relative;
}

.form-group.sutram-style .form-label {
  font-weight: 500;
  color: var(--text-color);
  margin-bottom: 0.5rem;
  font-size: 0.875rem;
  letter-spacing: 0.025rem;
  text-transform: uppercase;
  font-family: var(--sutram-font-family) !important;
}

/* ================================================================================
 * sutram-INSPIRED BUTTON GROUPS
 * ================================================================================*/

/* Enhanced Button Groups */
.btn-group.sutram-style {
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  border-radius: 12px;
  overflow: hidden;
  background: #ffffff;
  border: 1px solid var(--border-color);
}

.btn-group.sutram-style .btn {
  border: none;
  border-radius: 0;
  background: transparent;
  color: var(--text-color);
  font-weight: 500;
  padding: 0.75rem 1.5rem;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  font-family: var(--sutram-font-family) !important;
}

.btn-group.sutram-style .btn:not(:last-child) {
  border-right: 1px solid var(--border-color);
}

.btn-group.sutram-style .btn:hover {
  background-color: var(--body-color);
  color: var(--primary-color);
  transform: translateY(-1px);
}

.btn-group.sutram-style .btn.active,
.btn-group.sutram-style .btn:active {
  background: var(--sutram-gradient);
  color: #ffffff;
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.1);
  transform: none;
}

/* Segmented Button Group */
.btn-group.segmented {
  background: var(--body-color);
  border: 1px solid var(--border-color);
  border-radius: 10px;
  padding: 4px;
  gap: 2px;
}

.btn-group.segmented .btn {
  border-radius: 8px;
  border: none;
  background: transparent;
  color: var(--text-color);
  font-weight: 500;
  padding: 0.5rem 1rem;
  transition: all 0.25s ease;
  font-family: var(--sutram-font-family) !important;
}

.btn-group.segmented .btn.active {
  background: #ffffff;
  color: var(--primary-color);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

/* Toggle Button Group */
.btn-group.toggle-style {
  border-radius: 25px;
  overflow: hidden;
  background: var(--body-color);
  border: 1px solid var(--border-color);
  box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.1);
}

.btn-group.toggle-style .btn {
  border: none;
  border-radius: 0;
  background: transparent;
  color: var(--text-color);
  font-weight: 600;
  padding: 0.6rem 1.25rem;
  transition: all 0.3s ease;
  font-family: var(--sutram-font-family) !important;
}

.btn-group.toggle-style .btn.active {
  background: var(--primary-color);
  color: #ffffff;
  box-shadow: 0 2px 4px rgba(102, 126, 234, 0.3);
}

/* Input Group Enhancements */
.input-group.sutram-style {
  /* border-radius: 10px; */
  overflow: hidden;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.input-group.sutram-style .form-control {
  border: 1px solid var(--border-color);
  background-color: var(--body-color);
  font-family: var(--sutram-font-family) !important;
}

.input-group.sutram-style .input-group-text {
  background-color: var(--body-color);
  border: 1px solid var(--border-color);
  color: var(--text-color);
  font-weight: 500;
  font-family: var(--sutram-font-family) !important;
}

.input-group.sutram-style:focus-within {
  box-shadow: 0 0 0 2px rgba(39, 148, 235, 0.08);
  transform: translateY(-1px);
}

.input-group.sutram-style:focus-within .form-control,
.input-group.sutram-style:focus-within .input-group-text {
  border-color: var(--primary-color);
}

/* ================================================================================
 * FLOATING LABELS & ADVANCED INPUT EFFECTS
 * ================================================================================*/

/* Floating Label Enhancement */
.form-floating.sutram-style {
  position: relative;
}

.form-floating.sutram-style .form-control {
  background-color: var(--body-color);
  border: 1px solid var(--border-color);
  border-radius: 10px;
  padding: 1.2rem 1.25rem 0.4rem;
  font-size: 0.95rem;
  height: calc(3.5rem + 2px);
  transition: all 0.3s ease;
  font-family: var(--sutram-font-family) !important;
}

.form-floating.sutram-style .form-control:focus {
  border-color: var(--primary-color);
  background-color: #ffffff;
  box-shadow: 0 0 0 2px rgba(39, 148, 235, 0.08);
}

.form-floating.sutram-style label {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  padding: 1.2rem 1.25rem;
  pointer-events: none;
  border: 1px solid transparent;
  transform-origin: 0 0;
  transition: all 0.3s ease;
  color: rgba(108, 117, 125, 0.7);
  font-size: 0.95rem;
  font-family: var(--sutram-font-family) !important;
}

.form-floating.sutram-style .form-control:focus ~ label,
.form-floating.sutram-style .form-control:not(:placeholder-shown) ~ label {
  opacity: 0.85;
  transform: scale(0.85) translateY(-1rem) translateX(0.15rem);
  color: var(--primary-color);
  font-weight: 500;
}

/* Animated Underline Effect */
.input-underline {
  position: relative;
  background: transparent;
  border: none;
  border-bottom: 2px solid var(--border-color);
  border-radius: 0;
  padding: 0.75rem 0;
  font-family: var(--sutram-font-family) !important;
}

.input-underline:focus {
  outline: none;
  background: transparent;
  box-shadow: none;
  border-bottom-color: var(--primary-color);
}

.input-underline::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--sutram-gradient);
  transition: width 0.3s ease;
}

.input-underline:focus::after {
  width: 100%;
}

/* ================================================================================
 * ADVANCED BUTTON STYLES
 * ================================================================================*/

/* Glass Morphism Button */
.btn-glass {
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 12px;
  color: var(--text-color);
  font-weight: 500;
  padding: 0.75rem 1.5rem;
  transition: all 0.3s ease;
  font-family: var(--sutram-font-family) !important;
}

.btn-glass:hover {
  background: rgba(255, 255, 255, 0.3);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(102, 126, 234, 0.2);
  color: var(--primary-color);
}

/* Gradient Border Button */
.btn-gradient-border {
  background: #ffffff;
  border: 2px solid transparent;
  border-radius: 10px;
  background-clip: padding-box;
  position: relative;
  color: var(--text-color);
  font-weight: 500;
  padding: 0.75rem 1.5rem;
  transition: all 0.3s ease;
  font-family: var(--sutram-font-family) !important;
}

.btn-gradient-border::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: -1;
  margin: -2px;
  border-radius: inherit;
  background: var(--sutram-gradient);
}

.btn-gradient-border:hover {
  color: #ffffff;
  background: var(--sutram-gradient);
  transform: translateY(-1px);
  box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

/* Pill Toggle Buttons */
.btn-toggle-pill {
  border-radius: 25px;
  padding: 0.5rem 1.25rem;
  border: 1px solid var(--border-color);
  background: var(--body-color);
  color: var(--text-color);
  font-weight: 500;
  transition: all 0.25s ease;
  font-family: var(--sutram-font-family) !important;
}

.btn-toggle-pill.active {
  background: var(--primary-color);
  color: #ffffff;
  border-color: var(--primary-color);
  box-shadow: 0 2px 8px rgba(102, 126, 234, 0.3);
}

.btn-toggle-pill:hover:not(.active) {
  background: #ffffff;
  border-color: var(--primary-color);
  color: var(--primary-color);
}

/* Form labels consistent styling */
.login-main-card .form-label {
  font-weight: 600 !important;
  font-size: 0.9rem !important;
  color: #374151 !important;
  margin-bottom: 0.5rem;
}

/* ================================================================================
 * REMEMBER SECTION - CLEAN STYLING (NO DASHED BORDER)
 * ================================================================================*/

/* Remember me section - clean background without dashed border */
.login-main-card .form-check {
  padding: 1rem;
  background: rgba(248, 250, 252, 0.6);
  border-radius: 8px;
  border: 1px solid rgba(209, 213, 219, 0.5);
  transition: all 0.2s ease;
  margin: 1rem 0;
}

.login-main-card .form-check:hover {
  background: rgba(248, 250, 252, 0.8);
  border-color: rgba(156, 163, 175, 0.6);
}

.login-main-card .form-check-input {
  width: 1.2em;
  height: 1.2em;
  margin-top: 0.125em;
  border: 2px solid #d1d5db;
  border-radius: 4px;
}

.login-main-card .form-check-input:checked {
  background-color: #667eea;
  border-color: #667eea;
}

.login-main-card .form-check-input:focus {
  border-color: #667eea;
  outline: 0;
  box-shadow: 0 0 0 0.25rem rgba(102, 126, 234, 0.25);
}

.login-main-card .form-check-label {
  font-weight: 500;
  color: #374151;
  margin-left: 0.5rem;
}

/* Remember Me Checkbox Enhancement */
.form-check-input:checked {
  background-color: var(--sutram-primary);
  border-color: var(--sutram-primary);
}

.form-check-input:focus {
  border-color: var(--sutram-primary);
  outline: 0;
  box-shadow: 0 0 0 0.25rem rgba(102, 126, 234, 0.25);
}

/* Loading Button State */
.btn-loading {
  position: relative;
  color: transparent !important;
}

.btn-loading::after {
  content: "";
  position: absolute;
  width: 16px;
  height: 16px;
  top: 50%;
  left: 50%;
  margin-left: -8px;
  margin-top: -8px;
  border: 2px solid #ffffff;
  border-radius: 50%;
  border-top-color: transparent;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

/* ================================================================================
 * COMPREHENSIVE FONT ENFORCEMENT
 * ================================================================================*/

/* Universal font enforcement - highest priority */
* {
  font-family:
    "Inter",
    "Open Sans",
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    Roboto,
    sans-serif !important;
}

/* Specific Bootstrap component overrides */
.btn,
.form-control,
.form-label,
.form-check-label,
.card-title,
.card-text,
.alert,
.badge,
.breadcrumb,
.dropdown-item,
.list-group-item,
.nav-link,
.navbar-brand,
.pagination .page-link,
.table,
.modal-title,
.modal-body,
.toast,
.tooltip,
.popover,
.progress,
.spinner-border,
.spinner-grow,
input,
textarea,
select,
option,
label,
h1,
h2,
h3,
h4,
h5,
h6,
p,
span,
div,
.display-1,
.display-2,
.display-3,
.display-4,
.display-5,
.display-6,
.lead,
.text-muted,
.small,
.mark,
.del,
.s,
.ins,
.u,
.em,
.strong {
  font-family:
    "Inter",
    "Open Sans",
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    Roboto,
    sans-serif !important;
}

/* Enhanced typography hierarchy */
h1,
.h1,
.display-1 {
  font-family: "Inter", sans-serif !important;
  font-weight: 800 !important;
  letter-spacing: -0.02em;
}

h2,
.h2,
.display-2 {
  font-family: "Inter", sans-serif !important;
  font-weight: 700 !important;
  letter-spacing: -0.01em;
}

h3,
.h3,
.display-3 {
  font-family: "Inter", sans-serif !important;
  font-weight: 600 !important;
  letter-spacing: -0.005em;
}

h4,
.h4,
h5,
.h5,
h6,
.h6 {
  font-family: "Inter", sans-serif !important;
  font-weight: 600 !important;
}

/* Body text optimization */
body,
.form-control,
.btn,
p,
span,
div {
  font-family: "Inter", "Open Sans", sans-serif !important;
  font-weight: 400 !important;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Enhanced readability for form elements */
.form-control {
  font-size: 0.95rem !important;
  font-weight: 400 !important;
  letter-spacing: 0.01em;
  border: 2px solid #e5e7eb;
  border-radius: 8px;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  background: white;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.form-control:focus {
  border-color: var(--primary-color) !important;
  box-shadow: 0 0 0 0.2rem rgba(102, 126, 234, 0.25) !important;
  background: #fafbff;
}

.form-control-lg {
  font-size: 1.125rem !important;
  padding: 0.75rem 1rem;
  border-radius: 8px;
}

.form-label {
  font-weight: 500 !important;
  font-size: 0.9rem !important;
  letter-spacing: 0.01em;
  color: #374151 !important;
  margin-bottom: 0.5rem;
}

/* sutram-inspired input styling with SUTRAM branding */
.form-control::placeholder {
  color: #9ca3af;
  font-weight: 300;
}

.form-control:hover:not(:focus) {
  border-color: #d1d5db;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* Button typography improvements */
.btn {
  font-weight: 500 !important;
  letter-spacing: 0.02em;
  font-size: 0.9rem !important;
  border-radius: 8px;
  padding: 0.75rem 1.5rem;
  border: 2px solid transparent;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.btn-primary {
  font-weight: 600 !important;
  background: linear-gradient(135deg, #667eea, #764ba2);
  border: 2px solid #667eea;
  color: white;
  box-shadow: 0 4px 12px rgba(102, 126, 234, 0.25);
}

.btn-primary:hover {
  background: linear-gradient(135deg, #5a67d8, #6b46c1);
  border-color: #5a67d8;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(102, 126, 234, 0.35);
}

.btn-primary:active {
  transform: translateY(0);
  box-shadow: 0 2px 8px rgba(102, 126, 234, 0.3);
}

.btn-primary:focus {
  box-shadow: 0 0 0 0.2rem rgba(102, 126, 234, 0.5);
}

/* sutram-style button loading state */
.btn-loading {
  color: transparent !important;
  pointer-events: none;
}

.btn-loading::after {
  content: "";
  position: absolute;
  width: 16px;
  height: 16px;
  top: 50%;
  left: 50%;
  margin-left: -8px;
  margin-top: -8px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  border-top-color: white;
  animation: spin 1s linear infinite;
}

/* ================================================================================
 * ENHANCED PASSWORD TOGGLE FUNCTIONALITY (INTEGRATED DESIGN)
 * ================================================================================*/

.password-input-container {
  position: relative;
  display: flex;
  align-items: center;
}

.password-input-container .form-control {
  padding-right: 3.5rem !important;
  font-family: "Inter", sans-serif !important;
  border-radius: 0.375rem;
  border: 1px solid var(--border-color);
  transition:
    border-color 0.15s ease-in-out,
    box-shadow 0.15s ease-in-out;
}

.password-input-container .form-control:focus {
  border-color: var(--bs-primary) !important;
  box-shadow: 0 0 0 0.25rem rgba(var(--bs-primary-rgb, 102, 126, 234), 0.25) !important;
  outline: none;
}

.password-toggle-btn {
  position: absolute;
  right: 1px;
  top: 1px;
  bottom: 1px;
  width: 3.5rem;
  height: calc(100% - 2px);
  background: var(--bs-gray-100, #f8f9fa);
  border: none;
  border-left: 1px solid var(--border-color);
  border-radius: 0 0.375rem 0.375rem 0;
  color: var(--bs-gray-600, #6c757d);
  font-size: 1.1rem;
  cursor: pointer;
  transition: all 0.15s ease-in-out;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Password toggle for login card - ensure proper sizing */
.login-main-card .password-toggle-btn {
  width: 4rem;
  height: calc(1.5em + 1.5rem + 2px);
  font-size: 1.2rem;
}

/* Enhanced hover state */
.password-toggle-btn:hover {
  background-color: var(--bs-primary, #667eea);
  color: white !important;
  border-left-color: var(--bs-primary, #667eea);
}

/* Active/Pressed state */
.password-toggle-btn:active {
  background-color: var(--bs-primary-dark, #5a67d8);
}

/* Focus state for accessibility */
.password-toggle-btn:focus {
  outline: 0;
  box-shadow: 0 0 0 0.25rem rgba(var(--bs-primary-rgb, 102, 126, 234), 0.25);
  background-color: var(--bs-primary, #667eea);
  color: white !important;
}

/* When password is visible (active state) */
.password-toggle-btn.active {
  background: linear-gradient(135deg, #667eea, #764ba2);
  color: white !important;
  border-left-color: #667eea;
}

/* Icon animation */
.password-toggle-btn i {
  transition: transform 0.2s ease;
  font-size: 1rem;
}

.password-toggle-btn:hover i {
  transform: scale(1.1);
}

/* Enhanced focus state for password input with toggle */
.password-input-container .form-control:focus + .password-toggle-btn {
  border-left-color: var(--bs-primary, #667eea);
  background-color: var(--bs-gray-200, #e9ecef);
}

/* Large form control styling */
.password-input-container .form-control-lg {
  padding-right: 4rem !important;
  height: calc(1.5em + 1rem + 4px);
  font-size: 1.125rem;
}

.password-input-container .form-control-lg + .password-toggle-btn {
  width: 3.5rem;
  font-size: 1.2rem;
}

/* sutram-inspired styling integration */
.password-input-container {
  background: white;
  border-radius: 8px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

/* Mobile responsive adjustments */
@media (max-width: 576px) {
  .password-toggle-btn {
    width: 3.5rem;
    font-size: 1.3rem;
  }

  .password-input-container .form-control {
    padding-right: 4rem !important;
  }
}

/* ================================================================================
 * sutram-INSPIRED FORM ENHANCEMENTS WITH SUTRAM BRANDING
 * ================================================================================*/

/* Enhanced form group spacing */
.mb-2 {
  margin-bottom: 1.5rem !important;
}

/* Form check (Remember me) styling */
.form-check {
  padding: 1rem;
  background: rgba(102, 126, 234, 0.05);
  border-radius: 8px;
  border: 1px dashed rgba(102, 126, 234, 0.2);
  transition: all 0.2s ease;
}

.form-check:hover {
  background: rgba(102, 126, 234, 0.08);
  border-color: rgba(102, 126, 234, 0.3);
}

.form-check-input {
  width: 1.2em;
  height: 1.2em;
  margin-top: 0.125em;
  border: 2px solid #d1d5db;
  border-radius: 4px;
}

.form-check-input:checked {
  background-color: #667eea;
  border-color: #667eea;
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3e%3cpath fill='none' stroke='%23fff' stroke-linecap='round' stroke-linejoin='round' stroke-width='3' d='m6 10 3 3 6-6'/%3e%3c/svg%3e");
}

.form-check-input:focus {
  border-color: #667eea;
  outline: 0;
  box-shadow: 0 0 0 0.25rem rgba(102, 126, 234, 0.25);
}

.form-check-label {
  font-weight: 500;
  color: #374151;
  margin-left: 0.5rem;
}

/* Enhanced link styling */
.text-primary {
  color: #667eea !important;
  text-decoration: none;
  font-weight: 500;
  transition: all 0.2s ease;
}

.text-primary:hover {
  color: #764ba2 !important;
  text-decoration: underline;
}

/* sutram-style form animations */
.form-control,
.password-input-container {
  animation: slideInUp 0.6s ease-out;
}

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

/* Stagger animation for form elements */
.col-12:nth-child(1) .form-control {
  animation-delay: 0.1s;
}
.col-12:nth-child(2) .form-control {
  animation-delay: 0.2s;
}
.col-12:nth-child(3) .password-input-container {
  animation-delay: 0.3s;
}
.col-12:nth-child(4) .form-check {
  animation-delay: 0.4s;
}
.btn-primary {
  animation: slideInUp 0.6s ease-out 0.5s both;
}

/* ================================================================================
 * SMOOTH TRANSITIONS AND ANIMATIONS
 * ================================================================================*/

/* Base transition system */
.form-control,
.btn,
.password-toggle-btn,
.form-check-input,
.card {
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Enhanced hover states */
.btn:hover:not(.btn-loading) {
  transform: translateY(-2px);
}

.form-control:focus {
  transform: translateY(-1px);
}

/* Page entrance animation */
.card.shadow-sm {
  animation: cardEntrance 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes cardEntrance {
  from {
    opacity: 0;
    transform: translateY(40px) scale(0.95);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/* Mobile-first responsive typography */
@media (max-width: 576px) {
  body {
    font-size: 14px !important;
  }

  .form-control {
    font-size: 16px !important; /* Prevents zoom on iOS */
  }

  .btn {
    font-size: 14px !important;
  }

  h1,
  .h1 {
    font-size: 1.75rem !important;
  }

  h2,
  .h2 {
    font-size: 1.5rem !important;
  }

  .password-toggle-btn {
    width: 2.5rem;
    height: 2.5rem;
    font-size: 1.2rem;
  }
}

@media (min-width: 768px) {
  body {
    font-size: 15px !important;
  }

  .form-control {
    font-size: 0.95rem !important;
  }
}

@media (min-width: 1200px) {
  body {
    font-size: 16px !important;
  }
}

/* ================================================================================
 * ACCESSIBILITY ENHANCEMENTS
 * ================================================================================*/

/* High contrast mode support */
@media (prefers-contrast: high) {
  .password-toggle-btn {
    border: 1px solid currentColor;
  }

  .form-control:focus {
    outline: 3px solid #667eea;
    outline-offset: 2px;
  }
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* Focus visible enhancement */
.password-toggle-btn:focus-visible {
  outline: 2px solid #667eea;
  outline-offset: 2px;
  background-color: rgba(102, 126, 234, 0.1);
}

/* ================================================================================
 * SUTRAM PASSWORD STRENGTH INDICATOR STYLES
 * ================================================================================*/

/* Password Strength Container */
.password-strength {
  margin-top: 0.75rem;
  padding: 1rem;
  background: var(--sutram-gray-50, #f8f9fa);
  border-radius: 12px;
  border: 1px solid var(--sutram-gray-200, #e9ecef);
  display: none; /* Initially hidden */
  transition: all 0.3s ease;
}

.password-strength.show {
  display: block;
  animation: slideDown 0.3s ease;
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.password-strength h6 {
  color: var(--sutram-gray-700, #495057);
  font-weight: 600;
  font-size: 0.875rem;
  margin-bottom: 0.75rem;
  border-bottom: 1px solid var(--sutram-gray-200, #e9ecef);
  padding-bottom: 0.5rem;
}

/* Password Requirements */
.password-requirement {
  font-size: 0.875rem;
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  padding: 0.375rem 0;
  transition: all 0.2s ease;
  border-radius: 6px;
  padding-left: 0.5rem;
  padding-right: 0.5rem;
}

.password-requirement i {
  margin-right: 0.75rem;
  width: 16px;
  font-size: 0.875rem;
  transition: all 0.2s ease;
}

.password-requirement span {
  transition: all 0.2s ease;
}

/* Invalid State */
.password-requirement.invalid {
  color: var(--sutram-danger, #dc3545);
  background: rgba(220, 53, 69, 0.05);
}

.password-requirement.invalid i {
  color: var(--sutram-danger, #dc3545);
}

/* Valid State */
.password-requirement.valid {
  color: var(--sutram-success, #28a745);
  background: rgba(40, 167, 69, 0.05);
}

.password-requirement.valid i {
  color: var(--sutram-success, #28a745);
  animation: checkPulse 0.3s ease;
}

@keyframes checkPulse {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.2);
  }
  100% {
    transform: scale(1);
  }
}

/* Password Strength Progress Bar */
.password-strength-bar {
  height: 6px;
  background: var(--sutram-gray-200, #e9ecef);
  border-radius: 3px;
  overflow: hidden;
  margin-top: 1rem;
  margin-bottom: 0.5rem;
}

.password-strength-fill {
  height: 100%;
  border-radius: 3px;
  transition: all 0.3s ease;
  width: 0%;
}

.password-strength-fill.weak {
  background: linear-gradient(90deg, #dc3545, #e74c3c);
  width: 25%;
}

.password-strength-fill.fair {
  background: linear-gradient(90deg, #ffc107, #f39c12);
  width: 50%;
}

.password-strength-fill.good {
  background: linear-gradient(90deg, #17a2b8, #3498db);
  width: 75%;
}

.password-strength-fill.strong {
  background: linear-gradient(90deg, #28a745, #2ecc71);
  width: 100%;
}

.password-strength-label {
  font-size: 0.75rem;
  font-weight: 600;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.password-strength-label.weak {
  color: var(--sutram-danger, #dc3545);
}

.password-strength-label.fair {
  color: var(--sutram-warning, #ffc107);
}

.password-strength-label.good {
  color: var(--sutram-info, #17a2b8);
}

.password-strength-label.strong {
  color: var(--sutram-success, #28a745);
}

/* ================================================================================
 * SUTRAM OTP INPUT STYLES
 * ================================================================================*/

.otp-input {
  font-size: 1.5rem;
  text-align: center;
  letter-spacing: 0.5rem;
  font-weight: 600;
  font-family: "JetBrains Mono", monospace;
  background: var(--sutram-gray-50, #f8f9fa);
  border: 2px solid var(--sutram-gray-300, #dee2e6);
  border-radius: 12px;
  transition: all 0.3s ease;
  width: 100% !important;
  max-width: 100% !important;
  .otp-input:focus {
    background: white;
    border-color: var(--sutram-primary, #2794eb);
    box-shadow: 0 0 0 0.2rem rgba(39, 148, 235, 0.25);
    letter-spacing: 0.75rem;
  }

  /* ================================================================================
 * SUTRAM INPUT GROUP BORDER MANAGEMENT & FONT SIZE
 * ================================================================================*/

  /* Base font size for all form elements */
  .form-control,
  .form-select,
  .input-group-text,
  .btn,
  input[type="text"],
  input[type="password"],
  input[type="email"],
  input[type="number"],
  input[type="tel"] {
    font-family: "Nunito", sans-serif !important;
    font-size: 0.75rem !important;
    font-weight: 400 !important;
    line-height: 1.3 !important;
  }

  /* Reduced height for compact design */
  .form-control,
  .form-select,
  input[type="text"],
  input[type="password"],
  input[type="email"],
  input[type="number"],
  input[type="tel"] {
    height: calc(1em + 0.8rem + 2px) !important;
  }

  /* ================================================================================
 * SUTRAM INPUT GROUP BORDER MANAGEMENT & FONT SIZE
 * ================================================================================*/

  /* Base font size for all form elements */
  .form-control,
  .form-select,
  .input-group-text,
  .btn,
  input[type="text"],
  input[type="password"],
  input[type="email"],
  input[type="number"],
  input[type="tel"] {
    font-family: "Nunito", sans-serif !important;
    font-size: 0.75rem !important;
    font-weight: 400 !important;
    line-height: 1.3 !important;
  }

  /* Reduced height for compact design */
  .form-control,
  .form-select,
  input[type="text"],
  input[type="password"],
  input[type="email"],
  input[type="number"],
  input[type="tel"] {
    height: calc(1em + 0.8rem + 2px) !important;
    padding: 0.4rem 0.6rem !important;
    border-radius: 0.375rem !important;
  }

  /* Placeholder styling with consistent font */
  .form-control::placeholder,
  .form-select::placeholder,
  input::placeholder,
  textarea::placeholder {
    font-family: "Nunito", sans-serif !important;
    font-size: 0.75rem !important;
    font-weight: 400 !important;
    color: var(--sutram-gray-500, #6c757d) !important;
    opacity: 0.65 !important;
  }

  /* Input Group Container */
  .input-group {
    display: flex !important;
    flex-wrap: nowrap !important;
    align-items: stretch !important;
    width: 100% !important;
    border-radius: 0.375rem !important;
    overflow: hidden !important;
  }

  /* First Element (Input) - Rounded left corners, straight right */
  .input-group > .form-control:first-child,
  .input-group > .form-select:first-child {
    border-top-left-radius: 0.375rem !important;
    border-bottom-left-radius: 0.375rem !important;
    border-top-right-radius: 0 !important;
    border-bottom-right-radius: 0 !important;
    border-right: 0 !important;
    position: relative !important;
    z-index: 2 !important;
    font-size: 0.75rem !important;
    height: calc(1em + 0.8rem + 2px) !important;
    padding: 0.4rem 0.6rem !important;
  }

  /* Last Element (Button/Text) - Straight left corners, rounded right */
  .input-group > .input-group-text:last-child,
  .input-group > .btn:last-child {
    border-top-left-radius: 0 !important;
    border-bottom-left-radius: 0 !important;
    border-top-right-radius: 0.375rem !important;
    border-bottom-right-radius: 0.375rem !important;
    border-left: 0 !important;
    position: relative !important;
    z-index: 3 !important;
    height: calc(1em + 0.8rem + 2px) !important;
    padding: 0.4rem 0.6rem !important;
    font-size: 0.75rem !important;
  }

  /* Middle Elements - No radius at all */
  .input-group > :not(:first-child):not(:last-child) {
    border-radius: 0 !important;
    border-left: 0 !important;
    border-right: 0 !important;
    position: relative !important;
    z-index: 2 !important;
  }

  /* Input Group Text Styling */
  .input-group-text {
    background-color: var(--sutram-gray-50, #f8f9fa);
    border: 1px solid var(--sutram-gray-300, #dee2e6);
    color: var(--sutram-gray-600, #6c757d);
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    white-space: nowrap !important;
    font-size: 0.75rem !important;
    font-weight: 500 !important;
  }

  /* Button in Input Group */
  .input-group .btn {
    height: calc(1em + 0.8rem + 2px) !important;
    padding: 0.4rem 0.6rem !important;
    font-size: 0.75rem !important;
    font-weight: 500 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
  }

  /* Focus States for Input Groups */
  .input-group:focus-within {
    transform: translateY(-1px);
  }

  .input-group:focus-within .form-control,
  .input-group:focus-within .input-group-text,
  .input-group:focus-within .btn {
    border-color: var(--sutram-primary, #2794eb) !important;
    box-shadow: 0 0 0 0.2rem rgba(39, 148, 235, 0.25) !important;
    outline: none !important;
  }

  /* Password Toggle Button Specific Styling */
  #togglePassword,
  #toggleConfirmPassword,
  .password-toggle-btn {
    background: transparent !important;
    border: none !important;
    color: var(--sutram-gray-600, #6c757d) !important;
    padding: 0.4rem 0.6rem !important;
    font-size: 0.8rem !important;
    cursor: pointer !important;
    transition: color 0.2s ease !important;
    height: 100% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
  }

  #togglePassword:hover,
  #toggleConfirmPassword:hover,
  .password-toggle-btn:hover {
    color: var(--sutram-primary, #2794eb) !important;
  }

  /* SUTRAM Style Override for consistent appearance */
  .form-control.sutram-style,
  .sutram-style .form-control {
    height: calc(1em + 0.8rem + 2px) !important;
    padding: 0.4rem 0.6rem !important;
    font-size: 0.75rem !important;
    line-height: 1.3 !important;
    border-radius: 0.375rem !important;
    font-family: "Nunito", sans-serif !important;
    border: 1px solid var(--sutram-gray-300, #dee2e6);
    background-color: white;
  }

  .form-control.sutram-style:focus,
  .sutram-style .form-control:focus {
    border-color: var(--sutram-primary, #2794eb);
    box-shadow: 0 0 0 0.2rem rgba(39, 148, 235, 0.25);
    background-color: white;
  }

  /* ================================================================================
 * END OF SUTRAM STYLE FRAMEWORK
 * ================================================================================*/

  /* SUTRAM INPUT-GROUP OVERRIDES - compact spacing & joined edges */
  .input-group.sutram-style .form-control,
  .input-group.sutram-style .input-group-text,
  .input-group.sutram-style .btn {
    padding: 0.4rem 0.6rem !important;
    font-size: 0.95rem !important;
    height: calc(1.1em + 0.8rem + 2px) !important;
    line-height: 1.2 !important;
    font-family: var(--sutram-font-family) !important;
  }

  /* First child: keep left rounding, remove right rounding so it joins cleanly */
  .input-group.sutram-style > *:first-child {
    border-top-right-radius: 0 !important;
    border-bottom-right-radius: 0 !important;
  }

  /* Last child: keep right rounding, remove left rounding so it joins cleanly */
  .input-group.sutram-style > *:last-child {
    border-top-left-radius: 0 !important;
    border-bottom-left-radius: 0 !important;
  }

  /* Middle children: no rounding at all */
  .input-group.sutram-style > *:not(:first-child):not(:last-child) {
    border-radius: 0 !important;
  }

  /* Remove adjacent borders so controls appear as a single unit */
  .input-group.sutram-style > * + * {
    margin-left: 0 !important;
    border-left: 0 !important;
  }

  .form-control::placeholder,
  .form-select::placeholder,
  input::placeholder,
  textarea::placeholder {
    font-family: "Nunito", sans-serif !important;
    font-size: 0.75rem !important;
    font-weight: 400 !important;
    color: var(--sutram-gray-500, #6c757d) !important;
    opacity: 0.65 !important;
  }

  /* Input Group Container */
  .input-group {
    display: flex !important;
    flex-wrap: nowrap !important;
    align-items: stretch !important;
    width: 100% !important;
    border-radius: 0.375rem !important;
    overflow: hidden !important;
  }

  /* SUTRAM Input Group Styling */
  .input-group.sutram-style,
  .sutram-input-group {
    background: white;
    border: 1px solid var(--sutram-gray-300, #dee2e6);
    border-radius: 0.375rem !important;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
    transition: all 0.2s ease;
  }

  /* First Element (Input) - Rounded left corners, straight right */
  .input-group > .form-control:first-child,
  .input-group > .form-select:first-child,
  .input-group.sutram-style > .form-control:first-child {
    border-top-left-radius: 0.375rem !important;
    border-bottom-left-radius: 0.375rem !important;
    border-top-right-radius: 0 !important;
    border-bottom-right-radius: 0 !important;
    border-right: 0 !important;
    position: relative !important;
    z-index: 2 !important;
    font-size: 0.75rem !important;
    height: calc(1em + 0.8rem + 2px) !important;
    padding: 0.4rem 0.6rem !important;
  }

  /* Last Element (Button/Text) - Straight left corners, rounded right */
  .input-group > .input-group-text:last-child,
  .input-group > .btn:last-child,
  .input-group.sutram-style > .input-group-text:last-child,
  .input-group.sutram-style > .btn:last-child {
    border-top-left-radius: 0 !important;
    border-bottom-left-radius: 0 !important;
    border-top-right-radius: 0.375rem !important;
    border-bottom-right-radius: 0.375rem !important;
    border-left: 0 !important;
    position: relative !important;
    z-index: 3 !important;
    height: calc(1em + 0.8rem + 2px) !important;
    padding: 0.4rem 0.6rem !important;
    font-size: 0.75rem !important;
  }

  /* Middle Elements - No radius at all */
  .input-group > :not(:first-child):not(:last-child) {
    border-radius: 0 !important;
    border-left: 0 !important;
    border-right: 0 !important;
    position: relative !important;
    z-index: 2 !important;
  }

  /* Input Group Text Styling */
  .input-group-text {
    background-color: var(--sutram-gray-50, #f8f9fa);
    border: 1px solid var(--sutram-gray-300, #dee2e6);
    color: var(--sutram-gray-600, #6c757d);
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    white-space: nowrap !important;
    font-size: 0.75rem !important;
    font-weight: 500 !important;
  }

  /* Button in Input Group */
  .input-group .btn {
    height: calc(1em + 0.8rem + 2px) !important;
    padding: 0.4rem 0.6rem !important;
    font-size: 0.75rem !important;
    font-weight: 500 !important;
    border: 1px solid var(--sutram-primary, #2794eb);
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
  }

  /* Focus States for Input Groups */
  .input-group:focus-within,
  .input-group.sutram-style:focus-within {
    border-color: var(--sutram-primary, #2794eb) !important;
    box-shadow: 0 0 0 0.2rem rgba(39, 148, 235, 0.25) !important;
    transform: translateY(-1px);
  }

  .input-group:focus-within .form-control,
  .input-group:focus-within .input-group-text,
  .input-group:focus-within .btn {
    border-color: var(--sutram-primary, #2794eb) !important;
    outline: none !important;
  }

  /* Password Toggle Button Specific Styling */
  #togglePassword,
  #toggleConfirmPassword,
  .password-toggle-btn {
    background: transparent !important;
    border: none !important;
    color: var(--sutram-gray-600, #6c757d) !important;
    padding: 0.4rem 0.6rem !important;
    font-size: 0.8rem !important;
    cursor: pointer !important;
    transition: color 0.2s ease !important;
    height: 100% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
  }

  #togglePassword:hover,
  #toggleConfirmPassword:hover,
  .password-toggle-btn:hover {
    color: var(--sutram-primary, #2794eb) !important;
  }

  /* SUTRAM Style Override for consistent appearance */
  .form-control.sutram-style,
  .sutram-style .form-control {
    height: calc(1em + 0.8rem + 2px) !important;
    padding: 0.4rem 0.6rem !important;
    font-size: 0.75rem !important;
    line-height: 1.3 !important;
    border-radius: 0.375rem !important;
    font-family: "Nunito", sans-serif !important;
    border: 1px solid var(--sutram-gray-300, #dee2e6);
    background-color: white;
  }

  .form-control.sutram-style:focus,
  .sutram-style .form-control:focus {
    border-color: var(--sutram-primary, #2794eb);
    box-shadow: 0 0 0 0.2rem rgba(39, 148, 235, 0.25);
    background-color: white;
  }

  /* ================================================================================
 * SUTRAM MOBILE RESPONSIVE ENHANCEMENTS
 * ================================================================================*/

  /* Base font size for all form elements */
  .form-control,
  .form-select,
  .input-group-text,
  .btn,
  input[type="text"],
  input[type="password"],
  input[type="email"],
  input[type="number"],
  input[type="tel"] {
    font-family: "Nunito", sans-serif !important;
    font-size: 0.75rem !important;
    font-weight: 400 !important;
    line-height: 1.3 !important;
  }

  /* Reduced height for compact design */
  .form-control,
  .form-select,
  input[type="text"],
  input[type="password"],
  input[type="email"],
  input[type="number"],
  input[type="tel"] {
    height: calc(1em + 0.8rem + 2px) !important;
    padding: 0.4rem 0.6rem !important;
    border-radius: 0.375rem !important;
  }

  /* Placeholder styling with consistent font */
  .form-control::placeholder,
  .form-select::placeholder,
  input::placeholder,
  textarea::placeholder {
    font-family: "Nunito", sans-serif !important;
    font-size: 0.75rem !important;
    font-weight: 400 !important;
    color: var(--sutram-gray-500, #6c757d) !important;
    opacity: 0.65 !important;
  }

  /* Input Group Container */
  .input-group {
    display: flex !important;
    flex-wrap: nowrap !important;
    align-items: stretch !important;
    width: 100% !important;
    border-radius: 0.375rem !important;
    overflow: hidden !important;
  }

  /* SUTRAM Input Group Styling */
  .input-group.sutram-style,
  .sutram-input-group {
    background: white;
    border: 1px solid var(--sutram-gray-300, #dee2e6);
    border-radius: 0.375rem !important;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
    transition: all 0.2s ease;
  }

  /* First Element (Input) - Rounded left corners, straight right */
  .input-group > .form-control:first-child,
  .input-group > .form-select:first-child,
  .input-group.sutram-style > .form-control:first-child {
    border-top-left-radius: 0.375rem !important;
    border-bottom-left-radius: 0.375rem !important;
    border-top-right-radius: 0 !important;
    border-bottom-right-radius: 0 !important;
    border-right: 0 !important;
    position: relative !important;
    z-index: 2 !important;
    font-size: 0.75rem !important;
    height: calc(1em + 0.8rem + 2px) !important;
    padding: 0.4rem 0.6rem !important;
  }

  /* Last Element (Button/Text) - Straight left corners, rounded right */
  .input-group > .input-group-text:last-child,
  .input-group > .btn:last-child,
  .input-group.sutram-style > .input-group-text:last-child,
  .input-group.sutram-style > .btn:last-child {
    border-top-left-radius: 0 !important;
    border-bottom-left-radius: 0 !important;
    border-top-right-radius: 0.375rem !important;
    border-bottom-right-radius: 0.375rem !important;
    border-left: 0 !important;
    position: relative !important;
    z-index: 3 !important;
    height: calc(1em + 0.8rem + 2px) !important;
    padding: 0.4rem 0.6rem !important;
    font-size: 0.75rem !important;
  }

  /* Middle Elements - No radius at all */
  .input-group > :not(:first-child):not(:last-child) {
    border-radius: 0 !important;
    border-left: 0 !important;
    border-right: 0 !important;
    position: relative !important;
    z-index: 2 !important;
  }

  /* Input Group Text Styling */
  .input-group-text {
    background-color: var(--sutram-gray-50, #f8f9fa);
    border: 1px solid var(--sutram-gray-300, #dee2e6);
    color: var(--sutram-gray-600, #6c757d);
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    white-space: nowrap !important;
    font-size: 0.75rem !important;
    font-weight: 500 !important;
  }

  /* Button in Input Group */
  .input-group .btn {
    height: calc(1em + 0.8rem + 2px) !important;
    padding: 0.4rem 0.6rem !important;
    font-size: 0.75rem !important;
    font-weight: 500 !important;
    border: 1px solid var(--sutram-primary, #2794eb);
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
  }

  /* Focus States for Input Groups */
  .input-group:focus-within,
  .input-group.sutram-style:focus-within {
    border-color: var(--sutram-primary, #2794eb) !important;
    box-shadow: 0 0 0 0.2rem rgba(39, 148, 235, 0.25) !important;
    transform: translateY(-1px);
  }

  .input-group:focus-within .form-control,
  .input-group:focus-within .input-group-text,
  .input-group:focus-within .btn {
    border-color: var(--sutram-primary, #2794eb) !important;
    outline: none !important;
  }

  /* Password Toggle Button Specific Styling */
  #togglePassword,
  #toggleConfirmPassword,
  .password-toggle-btn {
    background: transparent !important;
    border: none !important;
    color: var(--sutram-gray-600, #6c757d) !important;
    padding: 0.4rem 0.6rem !important;
    font-size: 0.8rem !important;
    cursor: pointer !important;
    transition: color 0.2s ease !important;
    height: 100% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
  }

  #togglePassword:hover,
  #toggleConfirmPassword:hover,
  .password-toggle-btn:hover {
    color: var(--sutram-primary, #2794eb) !important;
  }

  /* Special handling for complex input groups */
  .input-group > .form-control + .input-group-text,
  .input-group > .form-control + .btn {
    margin-left: -1px !important;
  }

  .input-group > .input-group-text + .form-control,
  .input-group > .btn + .form-control {
    margin-left: -1px !important;
  }

  /* SUTRAM Style Override for consistent appearance */
  .form-control.sutram-style,
  .sutram-style .form-control {
    height: calc(1em + 0.8rem + 2px) !important;
    padding: 0.4rem 0.6rem !important;
    font-size: 0.75rem !important;
    line-height: 1.3 !important;
    border-radius: 0.375rem !important;
    font-family: "Nunito", sans-serif !important;
    border: 1px solid var(--sutram-gray-300, #dee2e6);
    background-color: white;
  }

  .form-control.sutram-style:focus,
  .sutram-style .form-control:focus {
    border-color: var(--sutram-primary, #2794eb);
    box-shadow: 0 0 0 0.2rem rgba(39, 148, 235, 0.25);
    background-color: white;
  }

  /* ================================================================================
 * SUTRAM MOBILE RESPONSIVE ENHANCEMENTS
 * ================================================================================*/

  /* Base input styling with reduced font size */
  .form-control,
  .form-select,
  input[type="text"],
  input[type="password"],
  input[type="email"],
  input[type="number"],
  input[type="tel"] {
    font-family: "Nunito", sans-serif !important;
    font-size: 0.8rem !important;
    font-weight: 400 !important;
    line-height: 1.2 !important;
    height: calc(1.1em + 0.9rem + 2px) !important;
    padding: 0.45rem 0.65rem !important;
    border-radius: 0.375rem !important;
  }

  /* Placeholder styling with reduced font size */
  .form-control::placeholder,
  .form-select::placeholder,
  input::placeholder,
  textarea::placeholder {
    font-family: "Nunito", sans-serif !important;
    font-size: 0.8rem !important;
    font-weight: 400 !important;
    color: var(--sutram-gray-500, #6c757d) !important;
    opacity: 0.7 !important;
  }

  /* Focus placeholder styling */
  .form-control:focus::placeholder,
  input:focus::placeholder {
    opacity: 0.5 !important;
  }

  /* Input group base styling */
  .input-group {
    display: flex !important;
    flex-wrap: nowrap !important;
    align-items: stretch !important;
    border-radius: 0.375rem !important;
  }

  /* Input group form control - straight border on right when grouped */
  .input-group .form-control {
    flex: 1 1 auto !important;
    width: 1% !important;
    min-width: 0 !important;
    height: calc(1.1em + 0.9rem + 2px) !important;
    font-size: 0.8rem !important;
    padding: 0.45rem 0.65rem !important;
    border-radius: 0.375rem 0 0 0.375rem !important;
    border-right: 0 !important;
    position: relative !important;
    z-index: 2 !important;
  }

  /* Input group text/button - straight border on left when grouped */
  .input-group .input-group-text,
  .input-group .btn {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 0.45rem 0.65rem !important;
    height: calc(1.1em + 0.9rem + 2px) !important;
    border-radius: 0 0.375rem 0.375rem 0 !important;
    border-left: 0 !important;
    font-size: 0.8rem !important;
    position: relative !important;
    z-index: 3 !important;
  }

  /* SUTRAM style input groups */
  .input-group.sutram-style {
    border-radius: 0.375rem;
    overflow: hidden;
  }

  .input-group.sutram-style .form-control {
    border-color: var(--sutram-gray-300, #dee2e6);
    background-color: white;
    font-family: "Nunito", sans-serif !important;
    font-size: 0.8rem !important;
  }

  .input-group.sutram-style .input-group-text {
    background-color: var(--sutram-gray-50, #f8f9fa);
    border-color: var(--sutram-gray-300, #dee2e6);
    color: var(--sutram-gray-600, #6c757d);
    font-size: 0.8rem !important;
  }

  .input-group.sutram-style .btn {
    font-size: 0.8rem !important;
  }

  /* Focus states for input groups */
  .input-group.sutram-style:focus-within .form-control,
  .input-group.sutram-style:focus-within .input-group-text,
  .input-group:focus-within .form-control,
  .input-group:focus-within .input-group-text {
    border-color: var(--sutram-primary, #2794eb);
    box-shadow: 0 0 0 0.2rem rgba(39, 148, 235, 0.25);
  }

  /* Password toggle button specific styling */
  #togglePassword,
  #toggleConfirmPassword {
    background: transparent !important;
    border: none !important;
    padding: 0.45rem 0.65rem !important;
    color: var(--sutram-gray-600, #6c757d) !important;
    transition: color 0.2s ease !important;
    cursor: pointer !important;
    height: 100% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 0.85rem !important;
  }

  #togglePassword:hover,
  #toggleConfirmPassword:hover {
    color: var(--sutram-primary, #2794eb) !important;
  }

  /* Password input size fixes */
  #password-input,
  #confirm-password-input {
    font-family: "Nunito", sans-serif !important;
    font-size: 0.8rem !important;
    line-height: 1.2 !important;
    height: calc(1.1em + 0.9rem + 2px) !important;
    padding: 0.45rem 0.65rem !important;
    box-sizing: border-box !important;
  }

  /* SUTRAM style form controls */
  .form-control.sutram-style,
  .sutram-style .form-control {
    height: calc(1.1em + 0.9rem + 2px) !important;
    padding: 0.45rem 0.65rem !important;
    font-size: 0.8rem !important;
    line-height: 1.2 !important;
    border-radius: 0.375rem !important;
    box-sizing: border-box !important;
    font-family: "Nunito", sans-serif !important;
    font-weight: 400 !important;
  }

  /* Special handling for first and last elements in input groups */
  .input-group > :first-child {
    border-top-left-radius: 0.375rem !important;
    border-bottom-left-radius: 0.375rem !important;
    border-top-right-radius: 0 !important;
    border-bottom-right-radius: 0 !important;
  }

  .input-group > :last-child {
    border-top-right-radius: 0.375rem !important;
    border-bottom-right-radius: 0.375rem !important;
    border-top-left-radius: 0 !important;
    border-bottom-left-radius: 0 !important;
  }

  .input-group > :not(:first-child):not(:last-child) {
    border-radius: 0 !important;
  }

  /* ================================================================================
 * SUTRAM MOBILE RESPONSIVE ENHANCEMENTS
 * ================================================================================*/

  /* Fix input group height consistency with smaller size */
  .input-group {
    display: flex !important;
    flex-wrap: nowrap !important;
    align-items: stretch !important;
  }

  .input-group .form-control {
    flex: 1 1 auto !important;
    width: 1% !important;
    min-width: 0 !important;
    height: calc(1.5em + 1.5rem + 4px) !important;
    border-radius: 0.375rem 0 0 0.375rem !important;
  }

  .input-group .input-group-text {
    display: flex !important;
    align-items: center !important;
    padding: 0.5rem 0.75rem !important;
    height: calc(1.5em + 1.5rem + 4px) !important;
    border-radius: 0 0.375rem 0.375rem 0 !important;
    border-left: 0 !important;
  }

  /* SUTRAM style input groups with reduced height */
  .input-group.sutram-style {
    border-radius: 0.375rem;
    overflow: hidden;
  }

  .input-group.sutram-style .form-control {
    border-right: 0 !important;
    height: calc(1.5em + 1.5rem + 4px) !important;
    padding: 0.5rem 0.75rem !important;
    font-family: "Nunito", sans-serif !important;
    font-size: 0.875rem !important;
    line-height: 1.2 !important;
  }

  .input-group.sutram-style .input-group-text {
    background-color: var(--sutram-gray-50, #f8f9fa);
    border-color: var(--sutram-gray-300, #dee2e6);
    height: calc(1.65em + 1.5rem + 4px) !important;
    padding: 0.5rem 0.75rem !important;
  }

  .input-group.sutram-style:focus-within .form-control,
  .input-group.sutram-style:focus-within .input-group-text {
    border-color: var(--sutram-primary, #2794eb);
    box-shadow: 0 0 0 0.2rem rgba(39, 148, 235, 0.25);
  }

  /* Password toggle button specific styling with reduced size */
  #togglePassword,
  #toggleConfirmPassword {
    background: transparent !important;
    border: none !important;
    padding: 0.5rem 0.75rem !important;
    color: var(--sutram-gray-600, #6c757d) !important;
    transition: color 0.2s ease !important;
    cursor: pointer !important;
    height: 100% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
  }

  #togglePassword:hover,
  #toggleConfirmPassword:hover {
    color: var(--sutram-primary, #2794eb) !important;
  }

  /* Password input size fixes with reduced height */
  #password-input,
  #confirm-password-input {
    height: calc(1.5em + 1.5rem + 4px) !important;
    box-sizing: border-box !important;
    font-family: "Nunito", sans-serif !important;
    font-size: 0.875rem !important;
    line-height: 1.2 !important;
    padding: 0.5rem 0.75rem !important;
  }

  /* Form control consistency with SUTRAM style - reduced height */
  .form-control.sutram-style,
  .sutram-style .form-control {
    height: calc(1.5em + 1.5rem + 4px) !important;
    padding: 0.5rem 0.75rem !important;
    font-size: 0.875rem !important;
    line-height: 1.2 !important;
    border-radius: 0.375rem !important;
    box-sizing: border-box !important;
    font-family: "Nunito", sans-serif !important;
    font-weight: 400 !important;
  }

  /* Placeholder styling with Nunito font for all inputs */
  .form-control.sutram-style::placeholder,
  .sutram-style .form-control::placeholder,
  #password-input::placeholder,
  #confirm-password-input::placeholder,
  .otp-input::placeholder {
    font-family: "Nunito", sans-serif !important;
    font-weight: 400 !important;
    color: var(--sutram-gray-500, #6c757d) !important;
    opacity: 0.7 !important;
  }

  /* Focus placeholder styling */
  .form-control.sutram-style:focus::placeholder,
  .sutram-style .form-control:focus::placeholder,
  #password-input:focus::placeholder,
  #confirm-password-input:focus::placeholder {
    opacity: 0.5 !important;
    font-family: "Nunito", sans-serif !important;
  }

  /* General form control override for all inputs to use Nunito */
  .form-control {
    font-family: "Nunito", sans-serif !important;
    font-weight: 400 !important;
  }

  /* Specific targeting for all input elements to ensure Nunito font */
  input[type="text"],
  input[type="password"],
  input[type="email"],
  input[type="number"],
  input[type="tel"] {
    font-family: "Nunito", sans-serif !important;
    font-weight: 400 !important;
  }

  /* Ensure all placeholders use Nunito font */
  input::placeholder,
  textarea::placeholder,
  select::placeholder {
    font-family: "Nunito", sans-serif !important;
    font-weight: 400 !important;
  }

  /* ================================================================================
 * SUTRAM MOBILE RESPONSIVE ENHANCEMENTS
 * ================================================================================*/

  /* Fix input group height consistency */
  .input-group {
    display: flex !important;
    flex-wrap: nowrap !important;
    align-items: stretch !important;
  }

  .input-group .form-control {
    flex: 1 1 auto !important;
    width: 1% !important;
    min-width: 0 !important;
    height: calc(1.5em + 1.5rem + 4px) !important;
    border-radius: 0.375rem 0 0 0.375rem !important;
  }

  .input-group .input-group-text {
    display: flex !important;
    align-items: center !important;
    padding: 0.75rem 1rem !important;
    height: calc(1.5em + 1.5rem + 4px) !important;
    border-radius: 0 0.375rem 0.375rem 0 !important;
    border-left: 0 !important;
  }

  /* SUTRAM style input groups */
  .input-group.sutram-style {
    border-radius: 0.375rem;
    overflow: hidden;
  }

  .input-group.sutram-style .form-control {
    border-right: 0 !important;
    height: calc(1.5em + 1.5rem + 4px) !important;
  }

  .input-group.sutram-style .input-group-text {
    background-color: var(--sutram-gray-50, #f8f9fa);
    border-color: var(--sutram-gray-300, #dee2e6);
    height: calc(1.65em + 1.5rem + 4px) !important;
  }

  .input-group.sutram-style:focus-within .form-control,
  .input-group.sutram-style:focus-within .input-group-text {
    border-color: var(--sutram-primary, #2794eb);
    box-shadow: 0 0 0 0.2rem rgba(39, 148, 235, 0.25);
  }

  /* Password toggle button specific styling */
  #togglePassword,
  #toggleConfirmPassword {
    background: transparent !important;
    border: none !important;
    padding: 0.75rem 1rem !important;
    color: var(--sutram-gray-600, #6c757d) !important;
    transition: color 0.2s ease !important;
    cursor: pointer !important;
    height: 100% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
  }

  #togglePassword:hover,
  #toggleConfirmPassword:hover {
    color: var(--sutram-primary, #2794eb) !important;
  }

  /* Password input size fixes */
  #password-input,
  #confirm-password-input {
    height: calc(1.5em + 1.5rem + 4px) !important;
    box-sizing: border-box !important;
  }

  /* Form control consistency */
  .form-control {
    height: calc(1.5em + 1.5rem + 4px) !important;
    padding: 0.75rem 1rem !important;
    font-size: 1rem !important;
    line-height: 1.5 !important;
    border-radius: 0.375rem !important;
    box-sizing: border-box !important;
  }

  .otp-input:focus {
    background: white;
    border-color: var(--sutram-primary, #2794eb);
    box-shadow: 0 0 0 0.2rem rgba(39, 148, 235, 0.25);
    letter-spacing: 0.75rem;
    width: 100% !important;
  }
  /* Hide thread roll SVG decoration on mobile devices */
  @media (max-width: 768px) {
    .textile-decoration-svg {
      display: none !important;
    }

    .password-strength {
      padding: 0.75rem;
    }

    .otp-input {
      font-size: 1.25rem;
      letter-spacing: 0.25rem;
      width: 100% !important;
      max-width: 100% !important;
    }

    .otp-input:focus {
      letter-spacing: 0.5rem;
      width: 100% !important;
      max-width: 100% !important;
    }

    /* Ensure password inputs stay within bounds on mobile */
    #password-input,
    #confirm-password-input {
      font-size: 16px !important; /* Prevents zoom on iOS */
      width: 100% !important;
      max-width: 100% !important;
    }

    .form-control {
      font-size: 16px !important; /* Prevents zoom on iOS */
      width: 100% !important;
      max-width: 100% !important;
    }
  }

  /* Input group styling fix */
  .input-group .form-control {
    flex: 1 1 auto !important;
    width: 1% !important;
    min-width: 0 !important;
    box-sizing: border-box !important;
  }

  /* Prevent all form inputs from expanding */
  .form-control {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    box-sizing: border-box !important;
    word-wrap: break-word !important;
    overflow-wrap: break-word !important;
    white-space: nowrap !important;
    text-overflow: ellipsis !important;
  }

  /* ================================================================================
 * SUTRAM MOBILE RESPONSIVE ENHANCEMENTS
 * ================================================================================*/

  /* Hide thread roll SVG decoration on mobile devices */
  @media (max-width: 768px) {
    .textile-decoration-svg {
      display: none !important;
    }

    .password-strength {
      padding: 0.75rem;
    }

    .otp-input {
      font-size: 1.25rem;
      letter-spacing: 0.25rem;
    }

    .otp-input:focus {
      letter-spacing: 0.5rem;
    }
  }

  /* Optional: Also hide on small tablets */
  @media (max-width: 992px) {
    .textile-decoration-svg {
      opacity: 0.3;
    }
  }

  /* ================================================================================
 * ESSENTIAL INPUT GROUP HEIGHT CONSISTENCY FIXES
 * ================================================================================*/

  /* UNIFIED HEIGHT FOR ALL INPUT GROUP ELEMENTS */
  .input-group.sutram-style input,
  .input-group.sutram-style .form-control,
  .input-group.sutram-style .input-group-text,
  .input-group.sutram-style .btn,
  .input-group.sutram-style button,
  .input-group.sutram-style input[type="password"],
  .input-group.sutram-style input[type="text"],
  .input-group.sutram-style input[type="email"],
  .input-group.sutram-style input[type="number"] {
    height: 45px !important;
    min-height: 45px !important;
    max-height: 45px !important;
    padding: 8px 12px !important;
    font-size: 0.85rem !important;
    line-height: 1.2 !important;
    font-family: "Nunito", sans-serif !important;
    box-sizing: border-box !important;
    border: 1px solid var(--sutram-gray-300, #dee2e6) !important;
    display: flex !important;
    align-items: center !important;
    vertical-align: middle !important;
  }

  /* Special styling for input-group-text background */
  .input-group.sutram-style .input-group-text {
    background-color: var(--sutram-gray-50, #f8f9fa) !important;
    justify-content: center !important;
    text-align: center !important;
  }

  /* Container alignment */
  .input-group.sutram-style {
    display: flex !important;
    align-items: stretch !important;
  }

  /* Border radius management for joined appearance */
  /* First element: keep left rounding, remove right rounding for straight edge */
  .input-group.sutram-style > *:first-child {
    border-top-right-radius: 0 !important;
    border-bottom-right-radius: 0 !important;
  }

  /* Specific rule for password inputs in first position */
  .input-group.sutram-style > input[type="password"]:first-child,
  .input-group.sutram-style > .form-control:first-child {
    border-top-right-radius: 0 !important;
    border-bottom-right-radius: 0 !important;
    border-right: 1px solid var(--sutram-gray-300, #dee2e6) !important;
  }

  /* Last element: keep right rounding, remove left rounding for straight edge */
  .input-group.sutram-style > *:last-child {
    border-top-left-radius: 0 !important;
    border-bottom-left-radius: 0 !important;
  }

  /* Specific rule for password inputs in last position */
  .input-group.sutram-style > input[type="password"]:last-child,
  .input-group.sutram-style > .form-control:last-child {
    border-top-left-radius: 0 !important;
    border-bottom-left-radius: 0 !important;
  }

  /* Middle elements: no rounding at all */
  .input-group.sutram-style > *:not(:first-child):not(:last-child) {
    border-radius: 0 !important;
  }

  /* Remove adjacent borders so controls appear as a single unit */
  .input-group.sutram-style > * + * {
    margin-left: 0 !important;
    border-left: 0 !important;
  }

  /* HIGHEST PRIORITY - Force password input border radius override */
  .input-group.sutram-style input[type="password"]:first-child {
    border-radius: 0.375rem 0 0 0.375rem !important;
    -webkit-border-radius: 0.375rem 0 0 0.375rem !important;
    -moz-border-radius: 0.375rem 0 0 0.375rem !important;
  }

  .input-group.sutram-style input[type="password"]:last-child {
    border-radius: 0 0.375rem 0.375rem 0 !important;
    -webkit-border-radius: 0 0.375rem 0.375rem 0 !important;
    -moz-border-radius: 0 0.375rem 0.375rem 0 !important;
  }

  .input-group.sutram-style
    input[type="password"]:not(:first-child):not(:last-child) {
    border-radius: 0 !important;
    -webkit-border-radius: 0 !important;
    -moz-border-radius: 0 !important;
  }

  /* Ensure placeholders use Nunito for inputs */
  .input-group.sutram-style input::placeholder,
  .input-group.sutram-style .form-control::placeholder {
    font-family: "Nunito", sans-serif !important;
    font-size: 0.8rem !important;
    font-weight: 400 !important;
    color: var(--sutram-gray-500, #6c757d) !important;
    opacity: 0.65 !important;
  }

  /* ================================================================================
 * SUTRAM LOGO VARIANTS - Golden, Black & White Theme
 * ================================================================================*/

  /* Logo Back - Golden background with black text */
  .sutram-logo-back {
    background: var(--sutram-gradient);
    padding: 8px 16px;
    border-radius: 8px;
    position: relative;
  }

  .sutram-logo-back h1 {
    background: #000000 !important;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 900;
    font-style: italic;
    margin: 0;
    letter-spacing: 2px;
    text-shadow: none;
  }

  /* Black Name - Black text on transparent/white background */
  .sutram-logo-black-name h1 {
    background: #000000 !important;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: #000000;
    font-weight: 900;
    font-style: italic;
    margin: 0;
    letter-spacing: 2px;
    text-shadow: none;
  }

  .sutram-logo-black-name .sutram-underline {
    background: #000000 !important;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
  }

  .sutram-logo-black-name .sutram-accent-dot {
    background: #000000 !important;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
  }

  /* Logo White - White/light text on dark background */
  .sutram-logo-white {
    background: #000000;
    padding: 8px 16px;
    border-radius: 8px;
    position: relative;
  }

  .sutram-logo-white h1 {
    background: #ffffff !important;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: #ffffff;
    font-weight: 900;
    font-style: italic;
    margin: 0;
    letter-spacing: 2px;
    text-shadow: 0 2px 4px rgba(255, 255, 255, 0.1);
  }

  .sutram-logo-white .sutram-underline {
    background: var(--sutram-gradient) !important;
    box-shadow: 0 2px 4px rgba(255, 191, 0, 0.4);
  }

  .sutram-logo-white .sutram-accent-dot {
    background: var(--sutram-gradient) !important;
    box-shadow: 0 2px 4px rgba(255, 191, 0, 0.4);
  }

  /* Responsive adjustments for all logo variants */
  @media (max-width: 576px) {
    .sutram-logo-back,
    .sutram-logo-white {
      padding: 6px 12px;
      border-radius: 6px;
    }

    .sutram-logo-back h1,
    .sutram-logo-black-name h1,
    .sutram-logo-white h1 {
      font-size: 1.5rem;
      letter-spacing: 1px;
    }
  }

  /* ================================================================================
 * END OF SUTRAM STYLE FRAMEWORK
 * ================================================================================*/
}

/* ================================================================================
 * THEME-GOLDEN - Golden Thread Theme Override
 * ================================================================================*/
[data-sutram="theme-golden"] {
  /* SUTRAM Brand Colors - Golden Theme */
  --bs-primary: #ffd700;
  --bs-primary-rgb: 255, 215, 0;
  --bs-secondary: #d4af37;
  --bs-secondary-rgb: 212, 175, 55;

  /* SUTRAM Custom Brand Colors with Golden Theme */
  --sutram-primary: #ffd700;
  --primary-color: #ffd700;
  --sutram-secondary: #d4af37;
  --sutram-gradient: linear-gradient(
    135deg,
    #ffbf00 0%,
    #d4af37 50%,
    #ffd700 100%
  );
  --sutram-gradient-light: linear-gradient(
    135deg,
    rgba(255, 191, 0, 0.1) 0%,
    rgba(212, 175, 55, 0.1) 100%
  );

  /* Neutral Colors - Black & White Theme for Golden */
  --sutram-dark: #000000;
  --sutram-light: #ffffff;
  --sutram-white: #ffffff;
  --sutram-card-bg: #ffffff;
  --sutram-border-color: #d4af37;
  --body-color: #ffffff;
  --card-color: #ffffff;
  --border-color: #d4af37;
}

/* Golden Theme Component Styling */
[data-sutram="theme-golden"] .btn-primary {
  background: linear-gradient(135deg, #ffd700 0%, #d4af37 100%);
  border: 2px solid #d4af37;
  color: #000000;
  font-weight: 600;
}

[data-sutram="theme-golden"] .btn-primary:hover {
  background: #ffffff !important;
  border-color: #ffd700;
  color: #866702;
  box-shadow: 0 6px 20px rgba(212, 175, 55, 0.4);
}

[data-sutram="theme-golden"] .form-control:focus {
  border-color: #ffd700;
  box-shadow: 0 0 0 0.2rem rgba(255, 215, 0, 0.25);
}

[data-sutram="theme-golden"] a {
  color: #d4af37;
}

[data-sutram="theme-golden"] a:hover {
  color: #ffd700;
}

/* ================================================================================
 * THEME-BLUE - Default Blue Theme (Explicit)
 * ================================================================================*/
[data-sutram="theme-blue"] {
  --bs-primary: #2794eb;
  --bs-primary-rgb: 39, 148, 235;
  --bs-secondary: #764ba2;
  --bs-secondary-rgb: 118, 75, 162;
  --sutram-primary: #2794eb;
  --primary-color: #2794eb;
  --sutram-secondary: #764ba2;
  --sutram-gradient: linear-gradient(
    135deg,
    #2794eb 0%,
    #764ba2 50%,
    #2794eb 100%
  );
  --sutram-card-bg: #f4f7f6;
  --border-color: #e9e6e1;
}

[data-sutram="theme-blue"] .btn-primary {
  background: linear-gradient(135deg, #2794eb 0%, #764ba2 100%);
  border: 2px solid #2794eb;
  color: #ffffff;
}

[data-sutram="theme-blue"] .btn-primary:hover {
  background: linear-gradient(135deg, #1a7bc7 0%, #5a3a7d 100%);
  border-color: #2794eb;
}

[data-sutram="theme-blue"] .form-control:focus {
  border-color: #2794eb;
  box-shadow: 0 0 0 0.2rem rgba(39, 148, 235, 0.25);
}

[data-sutram="theme-blue"] a {
  color: #2794eb;
}

[data-sutram="theme-blue"] a:hover {
  color: #359ed3;
}
/* SUTRAM Logo Styling */
.sutram-logo-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 3.5rem;
}

.sutram-logo-img {
  /* height: 2.5rem; */
  width: -webkit-fill-available;
  max-width: 350px;
  margin-bottom: 0.25rem;
  /* filter: brightness(0) saturate(100%); */
  /* Makes any logo black */
}
