/* Global Styles */
:root {
  --primary-blue: #152b58;
  --dark-blue: #0f1f3d;
  --light-blue: #e8ecf5;
  --feature-bank: #e8ecf5;
  --feature-health: #FFEBEE;
  --feature-refer: #E8F5E9;
  --feature-support: #FFF9C4;
  --calculator-emi: #152b58;
  --calculator-compare: #FF9800;
  --calculator-gst: #F44336;
  --calculator-sip: #4CAF50;
  --calculator-fd: #9C27B0;
}

/* Admin Page Styles */
.admin-page .main-content {
  padding: 20px;
  min-height: calc(100vh - 200px);
}

.admin-page .page-title {
  color: var(--primary-blue);
  font-weight: 700;
  font-size: 28px;
  margin-bottom: 20px;
}

.admin-page .stats-card {
  border: none;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  transition: transform 0.3s, box-shadow 0.3s;
  border-radius: 8px;
  margin-bottom: 15px;
}

.admin-page .stats-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.admin-page .stats-card-warning {
  border-left: 4px solid #ffc107;
}

.admin-page .stats-card-success {
  border-left: 4px solid #28a745;
}

.admin-page .stats-icon {
  color: var(--primary-blue);
  font-size: 32px;
}

.admin-page .stats-card-warning .stats-icon {
  color: #ffc107;
}

.admin-page .stats-card-success .stats-icon {
  color: #28a745;
}

.admin-page .stats-card h3 {
  font-size: 28px;
  font-weight: 700;
  color: #333;
  margin: 0;
}

.admin-page .card {
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  border: none;
  margin-bottom: 20px;
}

.admin-page .card-header {
  background: #fff;
  border-bottom: 2px solid #e0e0e0;
  padding: 15px 20px;
  font-weight: 600;
}

.admin-page .card-body {
  padding: 20px;
}

.admin-page .table {
  font-size: 14px;
}

.admin-page .table thead {
  background: var(--light-blue);
}

.admin-page .table thead th {
  font-weight: 600;
  color: var(--primary-blue);
  border-bottom: 2px solid var(--primary-blue);
  padding: 12px;
}

.admin-page .table tbody td {
  padding: 12px;
  vertical-align: middle;
}

.admin-page .btn {
  border-radius: 6px;
  padding: 8px 16px;
  font-weight: 500;
  font-size: 14px;
}

.admin-page .btn-sm {
  padding: 6px 12px;
  font-size: 13px;
}

/* Admin Page Mobile Responsive */
@media (max-width: 768px) {
  .admin-page .main-content {
    padding: 15px 10px;
  }
  
  .admin-page .page-title {
    font-size: 22px;
    margin-bottom: 15px;
  }
  
  .admin-page .d-flex.justify-content-between {
    flex-direction: column;
    align-items: flex-start !important;
    gap: 15px;
  }
  
  .admin-page .d-flex.justify-content-between .btn {
    width: 100%;
    margin-bottom: 10px;
  }
  
  .admin-page .stats-card {
    margin-bottom: 15px;
  }
  
  .admin-page .stats-card h3 {
    font-size: 20px;
  }
  
  .admin-page .stats-icon {
    font-size: 24px;
    margin-bottom: 8px;
  }
  
  .admin-page .stats-card .card-body {
    padding: 15px 10px;
  }
  
  .admin-page .stats-card .text-muted {
    font-size: 12px;
  }
  
  /* Stats cards: 2 per row on mobile (col-6 handles this automatically) */
  
  .admin-page .card-header {
    padding: 12px 15px;
    font-size: 16px;
  }
  
  .admin-page .card-header .d-flex {
    flex-direction: column;
    align-items: flex-start !important;
    gap: 10px;
  }
  
  .admin-page .card-body {
    padding: 15px;
  }
  
  .admin-page .table-responsive {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
  
  .admin-page .table {
    font-size: 12px;
    min-width: 600px;
  }
  
  .admin-page .table thead th {
    padding: 10px 8px;
    font-size: 12px;
    white-space: nowrap;
  }
  
  .admin-page .table tbody td {
    padding: 10px 8px;
    font-size: 12px;
    white-space: nowrap;
  }
  
  .admin-page .table .btn-sm {
    padding: 4px 8px;
    font-size: 11px;
    margin: 2px;
  }
  
  .admin-page .modal-dialog {
    margin: 10px;
    max-width: calc(100% - 20px);
  }
  
  .admin-page .modal-content {
    border-radius: 8px;
  }
  
  .admin-page .modal-header {
    padding: 15px;
  }
  
  .admin-page .modal-header .close {
    font-size: 1.5rem;
    padding: 0;
    margin: 0;
  }
  
  .admin-page .modal-title {
    font-size: 18px;
  }
  
  .admin-page .modal-body {
    padding: 15px;
  }
  
  .admin-page .modal-footer {
    padding: 15px;
    flex-wrap: wrap;
    gap: 10px;
  }
  
  .admin-page .modal-footer .btn {
    flex: 1;
    min-width: calc(50% - 5px);
  }
  
  .admin-page .form-control,
  .admin-page .form-select {
    font-size: 14px;
    padding: 10px 12px;
  }
  
  .admin-page .form-label {
    font-size: 14px;
    margin-bottom: 6px;
  }
}

@media (max-width: 480px) {
  .admin-page .main-content {
    padding: 10px 8px;
  }
  
  .admin-page .page-title {
    font-size: 20px;
  }
  
  .admin-page .stats-card h3 {
    font-size: 18px;
  }
  
  .admin-page .stats-icon {
    font-size: 20px;
    margin-bottom: 6px;
  }
  
  .admin-page .stats-card .card-body {
    padding: 12px 8px;
  }
  
  .admin-page .stats-card .text-muted {
    font-size: 11px;
  }
  
  /* Bootstrap grid handles spacing automatically with g-3 class */
  
  .admin-page .card-header {
    padding: 10px 12px;
    font-size: 14px;
  }
  
  .admin-page .card-body {
    padding: 12px;
  }
  
  .admin-page .table {
    font-size: 11px;
  }
  
  .admin-page .table thead th {
    padding: 8px 6px;
    font-size: 11px;
  }
  
  .admin-page .table tbody td {
    padding: 8px 6px;
    font-size: 11px;
  }
  
  .admin-page .btn {
    padding: 8px 12px;
    font-size: 13px;
  }
  
  .admin-page .btn-sm {
    padding: 4px 6px;
    font-size: 10px;
  }
  
  .admin-page .modal-dialog {
    margin: 5px;
    max-width: calc(100% - 10px);
  }
  
  .admin-page .modal-header {
    padding: 12px;
  }
  
  .admin-page .modal-title {
    font-size: 16px;
  }
  
  .admin-page .modal-body {
    padding: 12px;
  }
  
  .admin-page .modal-footer {
    padding: 12px;
    flex-direction: column;
  }
  
  .admin-page .modal-footer .btn {
    width: 100%;
    margin: 5px 0;
  }
  
  .admin-page .form-control,
  .admin-page .form-select {
    font-size: 13px;
    padding: 8px 10px;
  }
  
  .admin-page .form-label {
    font-size: 13px;
  }
}

/* Global Mobile Touch Improvements */
@media (max-width: 768px) {
  /* Make buttons touch-friendly */
  .btn, button {
    min-height: 44px;
    min-width: 44px;
    touch-action: manipulation;
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0.1);
  }
  
  .btn-sm {
    min-height: 36px;
    min-width: 36px;
  }
  
  /* Better input fields for mobile */
  input, select, textarea {
    font-size: 16px !important; /* Prevents zoom on iOS */
    touch-action: manipulation;
  }
  
  input[type="text"],
  input[type="email"],
  input[type="tel"],
  input[type="number"],
  input[type="password"],
  select,
  textarea {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
  }
  
  /* Better scrolling */
  * {
    -webkit-overflow-scrolling: touch;
  }
  
  /* Prevent text selection on buttons */
  .btn, button {
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
  }
  
  /* Table improvements */
  .table-responsive {
    -webkit-overflow-scrolling: touch;
    overflow-x: auto;
    position: relative;
  }
  
  .table-responsive::-webkit-scrollbar {
    height: 8px;
  }
  
  .table-responsive::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 10px;
  }
  
  .table-responsive::-webkit-scrollbar-thumb {
    background: #888;
    border-radius: 10px;
  }
  
  .table-responsive::-webkit-scrollbar-thumb:hover {
    background: #555;
  }
}

/* Admin Status Filter Buttons Responsive */
.admin-page .btn-group-responsive {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}

@media (max-width: 768px) {
  .admin-page .btn-group-responsive {
    width: 100%;
  }
  
  .admin-page .btn-group-responsive .btn {
    flex: 1;
    min-width: calc(50% - 5px);
  }
}

@media (max-width: 480px) {
  .admin-page .btn-group-responsive .btn {
    flex: 1 1 100%;
    width: 100%;
    margin-bottom: 5px;
  }
}

/* Loan Officer Page Styles (same as admin) */
.loan-officer-page .main-content {
  padding: 20px;
  min-height: calc(100vh - 200px);
}

.loan-officer-page .page-title {
  color: var(--primary-blue);
  font-weight: 700;
  font-size: 28px;
  margin-bottom: 20px;
}

.loan-officer-page .card {
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  border: none;
  margin-bottom: 20px;
}

.loan-officer-page .card-header {
  background: #fff;
  border-bottom: 2px solid #e0e0e0;
  padding: 15px 20px;
  font-weight: 600;
}

.loan-officer-page .card-body {
  padding: 20px;
}

.loan-officer-page .table {
  font-size: 14px;
}

.loan-officer-page .table thead {
  background: var(--light-blue);
}

.loan-officer-page .table thead th {
  font-weight: 600;
  color: var(--primary-blue);
  border-bottom: 2px solid var(--primary-blue);
  padding: 12px;
}

.loan-officer-page .table tbody td {
  padding: 12px;
  vertical-align: middle;
}

.loan-officer-page .btn {
  border-radius: 6px;
  padding: 8px 16px;
  font-weight: 500;
  font-size: 14px;
}

/* Loan Officer Mobile Responsive */
@media (max-width: 768px) {
  .loan-officer-page .main-content {
    padding: 15px 10px;
  }
  
  .loan-officer-page .page-title {
    font-size: 22px;
    margin-bottom: 15px;
  }
  
  .loan-officer-page .d-flex.justify-content-between {
    flex-direction: column;
    align-items: flex-start !important;
    gap: 15px;
  }
  
  .loan-officer-page .card-header {
    padding: 12px 15px;
    font-size: 16px;
  }
  
  .loan-officer-page .card-body {
    padding: 15px;
  }
  
  .loan-officer-page .table-responsive {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
  
  .loan-officer-page .table {
    font-size: 12px;
    min-width: 600px;
  }
  
  .loan-officer-page .table thead th {
    padding: 10px 8px;
    font-size: 12px;
  }
  
  .loan-officer-page .table tbody td {
    padding: 10px 8px;
    font-size: 12px;
  }
  
  .loan-officer-page .btn-sm {
    padding: 4px 8px;
    font-size: 11px;
  }
}

@media (max-width: 480px) {
  .loan-officer-page .main-content {
    padding: 10px 8px;
  }
  
  .loan-officer-page .page-title {
    font-size: 20px;
  }
  
  .loan-officer-page .card-header {
    padding: 10px 12px;
    font-size: 14px;
  }
  
  .loan-officer-page .card-body {
    padding: 12px;
  }
  
  .loan-officer-page .table {
    font-size: 11px;
  }
  
  .loan-officer-page .table thead th {
    padding: 8px 6px;
    font-size: 11px;
  }
  
  .loan-officer-page .table tbody td {
    padding: 8px 6px;
    font-size: 11px;
  }
  
  .loan-officer-page .btn {
    padding: 8px 12px;
    font-size: 13px;
  }
  
  .loan-officer-page .btn-sm {
    padding: 4px 6px;
    font-size: 10px;
  }
  
  .loan-officer-page .modal-dialog {
    margin: 10px;
    max-width: calc(100% - 20px);
  }
  
  .loan-officer-page .modal-content {
    border-radius: 8px;
  }
  
  .loan-officer-page .modal-header {
    padding: 15px;
  }
  
  .loan-officer-page .modal-header .close {
    font-size: 1.5rem;
    padding: 0;
    margin: 0;
  }
  
  .loan-officer-page .modal-title {
    font-size: 18px;
  }
  
  .loan-officer-page .modal-body {
    padding: 15px;
  }
  
  .loan-officer-page .modal-footer {
    padding: 15px;
    flex-wrap: wrap;
    gap: 10px;
  }
  
  .loan-officer-page .modal-footer .btn {
    flex: 1;
    min-width: calc(50% - 5px);
  }
  
  .loan-officer-page .form-control,
  .loan-officer-page .form-select {
    font-size: 14px;
    padding: 10px 12px;
  }
  
  .loan-officer-page .form-label {
    font-size: 14px;
    margin-bottom: 6px;
  }
}

@media (max-width: 480px) {
  .loan-officer-page .modal-dialog {
    margin: 5px;
    max-width: calc(100% - 10px);
  }
  
  .loan-officer-page .modal-header {
    padding: 12px;
  }
  
  .loan-officer-page .modal-title {
    font-size: 16px;
  }
  
  .loan-officer-page .modal-body {
    padding: 12px;
  }
  
  .loan-officer-page .modal-footer {
    padding: 12px;
    flex-direction: column;
  }
  
  .loan-officer-page .modal-footer .btn {
    width: 100%;
    margin: 5px 0;
  }
  
  .loan-officer-page .form-control,
  .loan-officer-page .form-select {
    font-size: 13px;
    padding: 8px 10px;
  }
  
  .loan-officer-page .form-label {
    font-size: 13px;
  }
}

* {
  box-sizing: border-box;
}

html {
  overflow-x: hidden;
  width: 100%;
  max-width: 100%;
}

body {
  font-family: 'Roboto', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
  margin: 0;
  padding: 0;
  background-color: #F5F5F5;
  padding-bottom: 64px; /* Space for bottom nav on mobile */
  font-size: 14px;
  line-height: 1.5;
  overflow-x: hidden;
  width: 100%;
  max-width: 100%;
  position: relative;
}

body.home-page {
  padding-bottom: 0;
}

@media (max-width: 575px) {
  body {
    padding-bottom: 60px;
    overflow-x: hidden;
    width: 100%;
    max-width: 100%;
    -webkit-text-size-adjust: 100%;
    -ms-text-size-adjust: 100%;
    text-size-adjust: 100%;
  }

  body.home-page {
    padding-bottom: 0 !important;
    margin-bottom: 0 !important;
  }

  html.home-page {
    padding-bottom: 0 !important;
    margin-bottom: 0 !important;
  }

  .row {
    margin-left: 0;
    margin-right: 0;
    width: 100%;
  }

  .row > [class*="col-"] {
    padding-left: 8px;
    padding-right: 8px;
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
  }

  .main-content {
    padding: 10px 8px;
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
  }

  .card-body {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
    padding-left: 12px;
    padding-right: 12px;
  }

  section {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
  }

  .app-header .container-fluid {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
    padding-left: 12px;
    padding-right: 12px;
  }
}

/* Status Bar - Removed */

/* Header - Sticky Header */
.app-header {
  background-color: var(--primary-blue) !important;
  color: #fff !important;
  padding: 8px 0 !important;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1) !important;
  margin-bottom: 0 !important;
  width: 100% !important;
  max-width: 100% !important;
  overflow-x: hidden !important;
}

/* Desktop: Make header sticky */
@media (min-width: 768px) {
  html {
    overflow-y: auto;
    overflow-x: hidden;
  }
  
  body {
    position: relative;
    overflow-y: auto;
    overflow-x: hidden;
    min-height: 100vh;
  }
  
  .app-header {
    position: -webkit-sticky !important;
    position: sticky !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    z-index: 1001 !important;
    margin: 0 !important;
    /* Ensure header stays on top when scrolling */
    will-change: transform;
    transform: translateZ(0);
    -webkit-transform: translateZ(0);
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
  }
}

/* Mobile: Header can scroll with page */
@media (max-width: 767px) {
  .app-header {
    position: relative !important;
    z-index: 1000;
  }
}

/* Loan Status Card - Mobile Responsive */
.loan-status-card .card-body {
  padding: 15px;
}

/* Custom Badge Styles to Match Site Colors */
.badge-pending {
  display: inline-block;
  padding: 6px 12px;
  font-size: 12px;
  font-weight: 600;
  border-radius: 4px;
  background-color: #ffc107;
  color: #000;
}

.badge-approved {
  display: inline-block;
  padding: 6px 12px;
  font-size: 12px;
  font-weight: 600;
  border-radius: 4px;
  background-color: #28a745;
  color: #fff;
}

.badge-rejected {
  display: inline-block;
  padding: 6px 12px;
  font-size: 12px;
  font-weight: 600;
  border-radius: 4px;
  background-color: #dc3545;
  color: #fff;
}

.badge-disbursed {
  display: inline-block;
  padding: 6px 12px;
  font-size: 12px;
  font-weight: 600;
  border-radius: 4px;
  background-color: var(--primary-blue);
  color: #fff;
}

.badge-secondary-custom {
  display: inline-block;
  padding: 6px 12px;
  font-size: 12px;
  font-weight: 600;
  border-radius: 4px;
  background-color: #6c757d;
  color: #fff;
}

@media (max-width: 768px) {
  .loan-status-card .card-body {
    padding: 12px;
  }
  
  .loan-status-card h5 {
    font-size: 16px !important;
    margin-bottom: 10px !important;
  }
  
  .loan-status-card p {
    font-size: 13px !important;
    margin-bottom: 8px !important;
  }
  
  .loan-status-card .btn {
    font-size: 13px;
    padding: 6px 12px;
    margin-top: 10px;
  }
  
  .badge-pending,
  .badge-approved,
  .badge-rejected,
  .badge-disbursed,
  .badge-secondary-custom {
    font-size: 11px;
    padding: 5px 10px;
}
}

/* Home page header - sticky on desktop */
@media (min-width: 768px) {
.home-page .app-header {
  margin-bottom: 0;
    position: -webkit-sticky !important;
    position: sticky !important;
    top: 0 !important;
    z-index: 1001 !important;
  }
}

.app-header .d-flex {
  justify-content: space-between;
  align-items: center;
}

.app-header .container-fluid .d-flex {
  justify-content: space-between;
}

.app-header .btn-link {
  color: #fff;
  padding: 6px;
  border: none;
  background: transparent;
  cursor: pointer;
  min-width: 36px;
  min-height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 1001;
}

.app-header .btn-link.menu-toggle {
  z-index: 1001;
  pointer-events: auto !important;
  cursor: pointer !important;
  position: relative;
}

.app-header .btn-link.menu-toggle:hover {
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 4px;
}

.app-header .btn-link.menu-toggle:active {
  background-color: rgba(255, 255, 255, 0.2);
}

.app-header .btn-link .material-icons-outlined {
  font-size: 20px;
}

.app-header .btn-link:hover {
  background-color: rgba(255,255,255,0.1);
  border-radius: 50%;
}

.app-header .btn-link.settings-btn {
  color: #fff !important;
  text-decoration: none;
  padding: 6px;
  border: none;
  background: transparent;
  cursor: pointer;
  min-width: 36px;
  min-height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.app-header .btn-link.settings-btn:hover {
  background-color: rgba(255,255,255,0.1);
  border-radius: 50%;
  color: #fff !important;
}

.app-title {
  font-size: 16px;
  font-weight: 500;
  margin: 0;
  flex: 1;
  text-align: center;
  letter-spacing: 0.3px;
  line-height: 1.2;
}

@media (max-width: 575px) {
  .app-title {
    font-size: 15px;
  }

  .app-header {
    padding: 7px 0;
    position: relative !important;
    z-index: 1000 !important;
  }

  .app-header .btn-link {
    padding: 5px;
    min-width: 32px;
    min-height: 32px;
  }

  .app-header .btn-link .material-icons-outlined {
    font-size: 18px;
  }
}

/* Main Content */
.main-content {
  padding: 12px;
  max-width: 1400px;
  margin: 0 auto;
  width: 100%;
  overflow-x: hidden;
  padding-bottom: 80px; /* Space for mobile navigation */
  padding-top: 20px; /* Space for sticky header and navigation */
}

@media (min-width: 768px) {
  .main-content {
    padding-bottom: 20px; /* Less padding on desktop */
    padding-top: 10px; /* Minimal padding since header and nav are sticky and don't take space */
  }
}

.home-page .main-content {
  padding-top: 16px;
}

@media (max-width: 575px) {
  .main-content {
    padding: 10px;
  }

  .home-page .main-content {
    padding-top: 12px;
  }
}

.screen {
  display: none;
}

.screen.active {
  display: block;
}

/* Loan Card */
.loan-card {
  background: linear-gradient(135deg, var(--primary-blue) 0%, var(--dark-blue) 100%);
  color: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  overflow: hidden;
  margin-bottom: 16px;
  max-width: 100%;
}

.loan-card .card-body {
  padding: 18px;
}

.loan-card .card-title {
  font-size: 17px;
  font-weight: 500;
  margin-bottom: 6px;
  color: #fff;
  line-height: 1.4;
}

.loan-card .card-subtitle {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.95);
  margin-bottom: 10px;
  font-weight: 400;
  letter-spacing: 0.3px;
}

.loan-amount {
  font-size: 30px;
  font-weight: 700;
  margin: 10px 0;
  letter-spacing: -0.5px;
  color: #fff;
}

.loan-card .btn-primary {
  background-color: #fff;
  color: var(--primary-blue);
  border: none;
  padding: 9px 22px;
  font-weight: 500;
  font-size: 13px;
  border-radius: 20px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.2);
  transition: all 0.3s;
  margin-top: 8px;
}

@media (max-width: 575px) {
  .loan-card .card-body {
    padding: 16px;
  }

  .loan-card .card-title {
    font-size: 15px;
  }

  .loan-card .card-subtitle {
    font-size: 11px;
    margin-bottom: 8px;
    color: rgba(255, 255, 255, 0.95);
  }

  .loan-amount {
    font-size: 26px;
    margin: 8px 0;
  }

  .loan-card .btn-primary {
    padding: 8px 18px;
    font-size: 12px;
    margin-top: 6px;
  }
}

.loan-card .btn-primary:hover {
  background-color: #f0f0f0;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
}

.loan-illustration {
  text-align: center;
  padding: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.loan-illustration svg {
  max-width: 100%;
  height: auto;
  max-height: 150px;
}

@media (max-width: 575px) {
  .loan-illustration {
    padding: 8px;
  }

  .loan-illustration svg {
    max-height: 120px;
  }
}

@media (min-width: 768px) {
  .loan-illustration {
    padding: 15px;
  }

  .loan-illustration svg {
    max-height: 160px;
  }
}

/* Feature Cards */
.feature-card {
  border-radius: 10px;
  border: none;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  transition: all 0.3s;
  cursor: pointer;
  height: 100%;
}

.feature-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

/* Feature card links */
a.text-decoration-none .feature-card {
  display: block;
  color: inherit;
  text-decoration: none;
}

a.text-decoration-none .feature-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

a.text-decoration-none:hover {
  text-decoration: none;
  color: inherit;
}

.feature-card .card-body {
  padding: 16px 12px;
}

.feature-icon {
  width: 56px;
  height: 56px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 10px;
  font-size: 28px;
}

@media (max-width: 575px) {
  .feature-card .card-body {
    padding: 14px 10px;
  }

  .feature-icon {
    width: 50px;
    height: 50px;
    font-size: 24px;
    margin-bottom: 8px;
  }
}

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

.health-icon {
  background-color: var(--feature-health);
  color: var(--calculator-gst);
}

.refer-icon {
  background-color: var(--feature-refer);
  color: var(--calculator-sip);
}

.support-icon {
  background-color: var(--feature-support);
  color: #152b58;
}

.feature-label {
  font-size: 11px;
  font-weight: 500;
  color: #333;
  line-height: 1.3;
}

@media (max-width: 575px) {
  .feature-label {
    font-size: 10px;
  }
}

/* Disbursement Section */
.disbursement-section {
  margin-top: 24px;
}

.section-title {
  font-size: 16px;
  font-weight: 500;
  margin-bottom: 6px;
  color: #333;
}

.section-subtitle {
  font-size: 12px;
  color: #666;
  margin-bottom: 12px;
  line-height: 1.4;
}

@media (max-width: 575px) {
  .disbursement-section {
    margin-top: 20px;
  }

  .section-title {
    font-size: 15px;
    margin-bottom: 4px;
  }

  .section-subtitle {
    font-size: 11px;
    margin-bottom: 10px;
  }
}

.disbursement-cards-wrapper {
  width: 100%;
}

.disbursement-cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  width: 100%;
}

.disbursement-card {
  width: 100%;
  border-radius: 10px;
  border: none;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  transition: transform 0.2s, box-shadow 0.2s;
}

.disbursement-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.disbursement-card .card-body {
  padding: 14px;
}

.profile-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background-color: var(--light-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-blue);
  flex-shrink: 0;
}

.disbursement-amount {
  font-size: 16px;
  font-weight: 600;
  color: #333;
  margin-bottom: 3px;
}

.disbursement-name {
  font-size: 13px;
  font-weight: 500;
  color: #333;
  margin-bottom: 2px;
}

.disbursement-location {
  font-size: 11px;
  color: #666;
}

@media (min-width: 576px) {
  .disbursement-cards {
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
  }
}

@media (max-width: 575px) {
  .disbursement-card .card-body {
    padding: 12px;
  }

  .profile-avatar {
    width: 40px;
    height: 40px;
    font-size: 20px;
  }

  .disbursement-amount {
    font-size: 15px;
  }

  .disbursement-name {
    font-size: 12px;
  }

  .disbursement-location {
    font-size: 10px;
  }
}

/* Calculator Screen */
.page-title {
  font-size: 20px;
  font-weight: 500;
  color: #333;
  margin-top: 12px;
  margin-bottom: 16px;
}

@media (max-width: 575px) {
  .page-title {
    font-size: 18px;
    margin-top: 10px;
    margin-bottom: 14px;
  }
}

.calculator-list {
  max-width: 800px;
  margin: 0 auto;
}

.calculator-item {
  border-radius: 10px;
  border: none;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  transition: all 0.3s;
  margin-bottom: 12px;
}

.calculator-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.calculator-item .card-body {
  padding: 16px;
}

.calculator-icon {
  width: 50px;
  height: 50px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  color: #fff;
  flex-shrink: 0;
}

@media (max-width: 575px) {
  .calculator-item .card-body {
    padding: 14px;
  }

  .calculator-icon {
    width: 44px;
    height: 44px;
    font-size: 22px;
  }
}

.emi-icon {
  background-color: var(--calculator-emi);
}

.compare-icon {
  background-color: var(--calculator-compare);
}

.gst-icon {
  background-color: var(--calculator-gst);
}

.sip-icon {
  background-color: var(--calculator-sip);
}

.fd-icon {
  background-color: var(--calculator-fd);
}

.calculator-title {
  font-size: 15px;
  font-weight: 500;
  margin-bottom: 3px;
  color: #333;
}

.calculator-description {
  font-size: 12px;
  color: #666;
  line-height: 1.4;
}

.calculator-item .btn-primary {
  border-radius: 18px;
  padding: 7px 20px;
  font-weight: 500;
  font-size: 13px;
}

@media (max-width: 575px) {
  .calculator-title {
    font-size: 14px;
  }

  .calculator-description {
    font-size: 11px;
  }

  .calculator-item .btn-primary {
    padding: 6px 16px;
    font-size: 12px;
  }
}

/* Side Menu */
.side-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 2000;
  pointer-events: none;
  transition: all 0.3s;
}

.side-menu.active {
  pointer-events: all;
}

.side-menu-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0,0,0,0.5);
  opacity: 0;
  transition: opacity 0.3s;
  backdrop-filter: blur(4px);
}

.side-menu.active .side-menu-overlay {
  opacity: 1;
}

.side-menu-content {
  position: absolute;
  top: 0;
  left: 0;
  width: 260px;
  height: 100%;
  background: linear-gradient(180deg, var(--primary-blue) 0%, var(--dark-blue) 100%);
  color: #fff;
  transform: translateX(-100%);
  transition: transform 0.3s;
  overflow-y: auto;
  box-shadow: 2px 0 8px rgba(0,0,0,0.2);
}

.side-menu.active .side-menu-content {
  transform: translateX(0);
}

.side-menu-profile {
  padding: 32px 20px 24px;
  text-align: center;
  border-bottom: 1px solid rgba(255,255,255,0.2);
}

.profile-icon-large {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background-color: rgba(255,255,255,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 14px;
  font-size: 40px;
}

.profile-name {
  font-size: 16px;
  font-weight: 500;
  margin-bottom: 6px;
}

.profile-phone {
  font-size: 13px;
  opacity: 0.9;
}

@media (max-width: 575px) {
  .side-menu-content {
    width: 240px;
  }

  .side-menu-profile {
    padding: 28px 18px 20px;
  }

  .profile-icon-large {
    width: 64px;
    height: 64px;
    font-size: 36px;
    margin-bottom: 12px;
  }

  .profile-name {
    font-size: 15px;
  }

  .profile-phone {
    font-size: 12px;
  }
}

.side-menu-section {
  padding: 12px 0;
  border-bottom: 1px solid rgba(255,255,255,0.2);
}

.side-menu-item {
  display: flex;
  align-items: center;
  padding: 14px 20px;
  cursor: pointer;
  transition: background-color 0.2s;
  font-size: 14px;
  color: #fff;
  text-decoration: none;
}

.side-menu-item:hover {
  background-color: rgba(255,255,255,0.1);
  color: #fff;
  text-decoration: none;
}

@media (max-width: 575px) {
  .side-menu-section {
    padding: 10px 0;
  }

  .side-menu-item {
    padding: 12px 18px;
    font-size: 13px;
  }
}


.side-menu-item .material-icons-outlined {
  margin-right: 14px;
  font-size: 22px;
}

@media (max-width: 575px) {
  .side-menu-item .material-icons-outlined {
    margin-right: 12px;
    font-size: 20px;
  }
}

.side-menu-footer {
  margin-top: auto;
  padding-top: 16px;
}

.logout-item {
  color: #fff;
  font-weight: 500;
}

/* Active menu item in sidebar */
.side-menu-item.active {
  background-color: rgba(255,255,255,0.15);
  border-left: 3px solid #fff;
  padding-left: 17px;
}

.side-menu-item.active:hover {
  background-color: rgba(255,255,255,0.2);
}

/* Responsive sidebar adjustments for admin/loan officer */
@media (max-width: 768px) {
  .admin-page .side-menu-content,
  .loan-officer-page .side-menu-content {
    width: 240px;
  }

  .admin-page .side-menu-profile,
  .loan-officer-page .side-menu-profile {
    padding: 24px 16px 18px;
  }

  .admin-page .profile-icon-large,
  .loan-officer-page .profile-icon-large {
    width: 60px;
    height: 60px;
    font-size: 32px;
    margin-bottom: 10px;
  }

  .admin-page .profile-name,
  .loan-officer-page .profile-name {
    font-size: 14px;
  }

  .admin-page .profile-phone,
  .loan-officer-page .profile-phone {
    font-size: 11px;
  }

  .admin-page .side-menu-item,
  .loan-officer-page .side-menu-item {
    padding: 12px 16px;
    font-size: 13px;
  }

  .admin-page .side-menu-item .material-icons-outlined,
  .loan-officer-page .side-menu-item .material-icons-outlined {
    font-size: 20px;
    margin-right: 12px;
  }
}

@media (max-width: 480px) {
  .admin-page .side-menu-content,
  .loan-officer-page .side-menu-content {
    width: 220px;
  }

  .admin-page .side-menu-profile,
  .loan-officer-page .side-menu-profile {
    padding: 20px 14px 16px;
  }

  .admin-page .profile-icon-large,
  .loan-officer-page .profile-icon-large {
    width: 56px;
    height: 56px;
    font-size: 28px;
  }
}

/* Bottom Navigation */
.bottom-nav {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: #fff;
  box-shadow: 0 -2px 8px rgba(0,0,0,0.1);
  display: flex;
  justify-content: space-around;
  align-items: center;
  padding: 6px 0;
  z-index: 1000;
  height: 64px;
}

.nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: none;
  border: none;
  padding: 6px 12px;
  cursor: pointer;
  color: #999;
  transition: color 0.2s;
  flex: 1;
}

.nav-item.active {
  color: var(--primary-blue);
}

.nav-item .material-icons-outlined {
  font-size: 22px;
  margin-bottom: 3px;
}

.nav-label {
  font-size: 11px;
  font-weight: 500;
}

@media (max-width: 575px) {
  .bottom-nav {
    height: 60px;
    padding: 5px 0;
  }

  .nav-item {
    padding: 5px 10px;
  }

  .nav-item .material-icons-outlined {
    font-size: 20px;
    margin-bottom: 2px;
  }

  .nav-label {
    font-size: 10px;
  }
}

/* Desktop Styles */
@media (min-width: 768px) {
  body {
    padding-bottom: 0;
    font-size: 15px;
  }

  .app-header {
    padding: 10px 0;
    /* Ensure sticky positioning on desktop */
    position: -webkit-sticky !important;
    position: sticky !important;
    top: 0 !important;
    z-index: 1000 !important;
  }

  .app-title {
    font-size: 18px;
  }

  .main-content {
    padding: 20px;
  }

  .loan-card {
    max-width: 900px;
    margin: 0 auto 20px;
  }

  .loan-card .card-body {
    padding: 24px;
  }

  .loan-card .card-title {
    font-size: 20px;
  }

  .loan-card .card-subtitle {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.95);
  }

  .loan-amount {
    font-size: 36px;
  }

  .loan-card .btn-primary {
    padding: 10px 28px;
    font-size: 14px;
  }

  .disbursement-cards {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }

  .disbursement-card .card-body {
    padding: 16px;
  }

  .disbursement-amount {
    font-size: 17px;
  }

  .disbursement-name {
    font-size: 14px;
  }

  .disbursement-location {
    font-size: 12px;
  }

  .bottom-nav {
    display: none;
  }
}

/* Desktop Navigation (Dashboard) */
.desktop-nav {
  display: none;
  background-color: #fff;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
  margin: 0 auto 24px;
  border-radius: 8px;
  overflow: hidden;
  max-width: 1400px;
  position: relative;
}

@media (min-width: 768px) {
  .desktop-nav {
    display: flex;
  }

  .desktop-nav-item {
    flex: 1;
    padding: 14px;
    text-align: center;
    background: none;
    border: none;
    cursor: pointer;
    color: #666;
    transition: all 0.2s;
    border-bottom: 3px solid transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
  }

  .desktop-nav-item:hover {
    background-color: #f5f5f5;
  }

  .desktop-nav-item.active {
    color: var(--primary-blue);
    border-bottom-color: var(--primary-blue);
    font-weight: 500;
  }

  .desktop-nav-item .material-icons-outlined {
    font-size: 20px;
  }
}

/* Main Navigation - Desktop (in header) */
.main-nav-desktop {
  background-color: #fff !important;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1) !important;
  padding: 0 !important;
  margin: 0 !important;
  border-bottom: 1px solid #e0e0e0 !important;
  width: 100% !important;
}

/* Desktop: Make navigation sticky below header */
@media (min-width: 768px) {
  .main-nav-desktop {
    position: -webkit-sticky !important;
    position: sticky !important;
    top: 56px !important; /* Height of header */
    z-index: 1000 !important;
    transform: translateZ(0);
    -webkit-transform: translateZ(0);
  }
}

/* Ensure desktop nav is visible on desktop */
@media (min-width: 768px) {
  .main-nav-desktop.d-none.d-md-flex {
    display: flex !important;
  }
}

.main-nav-desktop .container-fluid {
  padding: 0;
}

.main-nav-desktop .nav-items {
  display: flex !important;
  width: 100% !important;
}

.nav-item-desktop,
.desktop-nav-item,
.main-nav-desktop button.nav-item-desktop,
.main-nav-desktop a.nav-item-desktop {
  flex: 1 !important;
  padding: 14px !important;
  text-align: center !important;
  border: none !important;
  background: transparent !important;
  color: #666 !important;
  font-size: 14px !important;
  cursor: pointer !important;
  transition: all 0.2s !important;
  border-bottom: 3px solid transparent !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px !important;
  text-decoration: none !important;
  font-family: inherit !important;
  margin: 0 !important;
}

/* Override Bootstrap margin classes in navigation */
.main-nav-desktop .nav-item-desktop .ml-2,
.main-nav-desktop .nav-item-desktop .ml-3 {
  margin-left: 0 !important;
}

.nav-item-desktop:hover,
.desktop-nav-item:hover,
.main-nav-desktop button.nav-item-desktop:hover,
.main-nav-desktop a.nav-item-desktop:hover {
  background-color: #f5f5f5 !important;
  color: var(--primary-blue) !important;
  text-decoration: none !important;
}

.nav-item-desktop.active,
.desktop-nav-item.active,
.main-nav-desktop button.nav-item-desktop.active,
.main-nav-desktop a.nav-item-desktop.active {
  color: var(--primary-blue) !important;
  border-bottom-color: var(--primary-blue) !important;
  font-weight: 500 !important;
  background-color: #f8f9fa !important;
}

.nav-item-desktop .material-icons-outlined,
.main-nav-desktop .nav-item-desktop .material-icons-outlined,
.main-nav-desktop button.nav-item-desktop .material-icons-outlined,
.main-nav-desktop a.nav-item-desktop .material-icons-outlined {
  font-size: 20px !important;
  margin: 0 !important;
  line-height: 1 !important;
}

.nav-item-desktop .nav-label,
.main-nav-desktop .nav-item-desktop .nav-label,
.main-nav-desktop button.nav-item-desktop .nav-label,
.main-nav-desktop a.nav-item-desktop .nav-label {
  font-size: 14px !important;
  margin: 0 !important;
  line-height: 1 !important;
}

/* Main Navigation - Mobile (in header) */
.main-nav-mobile {
  position: fixed !important;
  bottom: 0 !important;
  left: 0 !important;
  right: 0 !important;
  background-color: #fff !important;
  box-shadow: 0 -2px 8px rgba(0,0,0,0.1) !important;
  z-index: 1000 !important;
  padding: 8px 0 !important;
  border-top: 1px solid #e0e0e0 !important;
  width: 100% !important;
}

/* Ensure mobile nav is visible on mobile */
@media (max-width: 767px) {
  .main-nav-mobile.d-md-none {
    display: block !important;
  }
}

.main-nav-mobile .nav-items {
  display: flex !important;
  justify-content: space-around !important;
  align-items: center !important;
  width: 100% !important;
}

.nav-item-mobile,
.bottom-nav .nav-item,
.main-nav-mobile button.nav-item-mobile,
.main-nav-mobile a.nav-item-mobile {
  flex: 1 !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 8px 5px !important;
  color: #666 !important;
  text-decoration: none !important;
  transition: all 0.2s !important;
  min-height: 60px !important;
  border: none !important;
  background: transparent !important;
  cursor: pointer !important;
  font-family: inherit !important;
  margin: 0 !important;
}

.nav-item-mobile:hover,
.bottom-nav .nav-item:hover,
.main-nav-mobile button.nav-item-mobile:hover,
.main-nav-mobile a.nav-item-mobile:hover {
  color: var(--primary-blue) !important;
  text-decoration: none !important;
  background-color: #f8f9fa !important;
}

.nav-item-mobile.active,
.bottom-nav .nav-item.active,
.main-nav-mobile button.nav-item-mobile.active,
.main-nav-mobile a.nav-item-mobile.active {
  color: var(--primary-blue) !important;
  font-weight: 500 !important;
  background-color: #f8f9fa !important;
}

.nav-item-mobile .material-icons-outlined,
.main-nav-mobile .nav-item-mobile .material-icons-outlined {
  font-size: 22px !important;
  margin-bottom: 3px !important;
}

.nav-item-mobile .nav-label,
.main-nav-mobile .nav-item-mobile .nav-label {
  font-size: 11px !important;
  font-weight: 500 !important;
}

@media (max-width: 575px) {
  .nav-item-mobile {
    padding: 5px;
    min-height: 56px;
  }

  .nav-item-mobile .material-icons-outlined {
    font-size: 20px;
    margin-bottom: 2px;
  }

  .nav-item-mobile .nav-label {
    font-size: 10px;
  }
  }

  .side-menu-content {
    width: 280px;
  }

  .side-menu-profile {
    padding: 36px 24px 32px;
  }

  .profile-icon-large {
    width: 80px;
    height: 80px;
    font-size: 44px;
  }

  .profile-name {
    font-size: 18px;
  }

  .profile-phone {
    font-size: 14px;
  }

  .side-menu-item {
    padding: 15px 24px;
    font-size: 15px;
}

@media (min-width: 992px) {
  .main-content {
    padding: 28px;
  }

  .loan-card {
    max-width: 850px;
    margin: 0 auto 24px;
  }

  .loan-card .card-body {
    padding: 28px;
  }

  .loan-card .card-title {
    font-size: 22px;
  }

  .loan-card .card-subtitle {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.95);
  }

  .loan-amount {
    font-size: 40px;
  }

  .loan-card .btn-primary {
    padding: 11px 30px;
    font-size: 14px;
  }

  .feature-icon {
    width: 64px;
    height: 64px;
    font-size: 32px;
  }

  .feature-label {
    font-size: 12px;
  }

  .disbursement-cards {
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
  }
}

@media (min-width: 1200px) {
  .main-content {
    padding: 32px;
  }

  .loan-card {
    max-width: 900px;
  }

  .loan-card .card-body {
    padding: 32px;
  }

  .disbursement-cards {
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
  }
}

/* Utility Classes */
.card {
  background-color: #fff;
  border-radius: 8px;
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
}

.btn-primary {
  background-color: var(--primary-blue) !important;
  border-color: var(--primary-blue) !important;
  color: #fff !important;
}

.btn-primary:hover,
.btn-primary:focus,
.btn-primary:active {
  background-color: var(--dark-blue) !important;
  border-color: var(--dark-blue) !important;
  color: #fff !important;
}

.btn-outline-primary {
  color: var(--primary-blue) !important;
  border-color: var(--primary-blue) !important;
  background-color: transparent !important;
}

.btn-outline-primary:hover,
.btn-outline-primary:focus,
.btn-outline-primary:active {
  background-color: var(--primary-blue) !important;
  border-color: var(--primary-blue) !important;
  color: #fff !important;
}

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

/* Landing Page Styles */
.hero-banner-section {
  width: 100%;
  max-width: 100%;
  margin: 0;
  padding: 0;
  background: linear-gradient(135deg, var(--primary-blue) 0%, var(--dark-blue) 100%);
  margin-top: 0;
  position: relative;
  overflow: hidden;
}

.hero-banner {
  width: 100%;
  max-width: 100%;
  margin: 0 auto;
  padding: 0;
  position: relative;
  min-height: 500px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.banner-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
  opacity: 0.3;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(21, 43, 88, 0.85) 0%, rgba(15, 31, 61, 0.9) 100%);
  z-index: 2;
}

.hero-content {
  position: relative;
  z-index: 3;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 60px 24px;
  text-align: center;
}

.hero-text {
  max-width: 800px;
  margin: 0 auto;
}

.hero-title {
  font-size: 42px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 20px;
  line-height: 1.2;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
  letter-spacing: -0.5px;
}

.hero-subtitle {
  font-size: 20px;
  color: rgba(255, 255, 255, 0.95);
  margin-bottom: 32px;
  line-height: 1.6;
  font-weight: 400;
}

.hero-cta-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.btn-hero-primary {
  background: #fff;
  color: var(--primary-blue);
  padding: 16px 32px;
  border-radius: 30px;
  font-weight: 600;
  font-size: 16px;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  display: inline-flex;
  align-items: center;
  border: 2px solid #fff;
}

.btn-hero-primary:hover {
  background: var(--primary-blue);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
  text-decoration: none;
}

.btn-hero-secondary {
  background: transparent;
  color: #fff;
  padding: 16px 32px;
  border-radius: 30px;
  font-weight: 600;
  font-size: 16px;
  text-decoration: none;
  transition: all 0.3s ease;
  border: 2px solid rgba(255, 255, 255, 0.8);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.btn-hero-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: #fff;
  transform: translateY(-2px);
  text-decoration: none;
  color: #fff;
}

.btn-hero-secondary .material-icons-outlined {
  font-size: 20px;
}

.hero-alert-banner {
  background: linear-gradient(135deg, #fff 0%, #f8f9fa 100%);
  padding: 16px 20px;
  border-top: 3px solid var(--primary-blue);
  box-shadow: 0 -2px 8px rgba(0, 0, 0, 0.1);
  position: relative;
  z-index: 4;
}

.hero-alert-content {
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px 12px;
  font-size: 14px;
  color: #333;
  text-align: center;
}

.hero-alert-icon {
  font-size: 18px;
  flex-shrink: 0;
}

.hero-alert-text {
  font-weight: 500;
  color: #333;
}

.hero-alert-text a {
  color: var(--primary-blue);
  font-weight: 600;
  text-decoration: none;
}

.hero-alert-text a:hover {
  text-decoration: underline;
}

.hero-alert-divider {
  color: #ccc;
  font-weight: 300;
}

@media (max-width: 575px) {
  .hero-banner {
    min-height: 400px;
  }

  .hero-content {
    padding: 40px 16px;
  }

  .hero-title {
    font-size: 28px;
    margin-bottom: 16px;
  }

  .hero-subtitle {
    font-size: 16px;
    margin-bottom: 24px;
  }

  .hero-cta-buttons {
    flex-direction: column;
    gap: 12px;
  }

  .btn-hero-primary,
  .btn-hero-secondary {
    width: 100%;
    justify-content: center;
    padding: 14px 24px;
    font-size: 15px;
  }

  .hero-alert-banner {
    padding: 12px 16px;
  }

  .hero-alert-content {
    font-size: 12px;
    gap: 6px 8px;
    flex-direction: column;
  }

  .hero-alert-icon {
    font-size: 16px;
  }

  .hero-alert-divider {
    display: none;
  }

  .steps-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  .steps-grid .step-card:nth-child(3) {
    grid-column: 1 / -1;
    justify-self: center;
    max-width: 300px;
    width: 100%;
  }
}

@media (min-width: 576px) {
  .hero-banner {
    min-height: 450px;
  }

  .hero-content {
    padding: 50px 24px;
  }

  .hero-title {
    font-size: 36px;
  }

  .hero-subtitle {
    font-size: 18px;
  }
}

@media (min-width: 768px) {
  .hero-banner {
    min-height: 500px;
  }

  .hero-content {
    padding: 60px 32px;
  }

  .hero-title {
    font-size: 42px;
  }

  .hero-subtitle {
    font-size: 20px;
  }

  .hero-cta-buttons {
    flex-wrap: nowrap;
  }
}

@media (min-width: 992px) {
  .hero-banner {
    min-height: 550px;
  }

  .hero-content {
    padding: 70px 40px;
  }

  .hero-title {
    font-size: 48px;
  }

  .hero-subtitle {
    font-size: 22px;
  }
}

@media (min-width: 1200px) {
  .hero-banner {
    min-height: 600px;
  }

  .hero-content {
    padding: 80px 48px;
  }

  .hero-title {
    font-size: 52px;
  }
}

.welcome-section {
  padding: 20px 0;
}

/* Alert banner removed - now using hero-alert-banner */

.welcome-title {
  font-size: 28px;
  font-weight: 600;
  color: var(--primary-blue);
  margin-bottom: 12px;
}

.welcome-subtitle {
  font-size: 16px;
  color: #666;
  max-width: 800px;
  margin: 0 auto;
  line-height: 1.6;
}

/* Feature Boxes */
.feature-box {
  border: none;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  transition: all 0.3s ease;
  height: 100%;
  border-top: 3px solid transparent;
}

.feature-box:hover {
  transform: translateY(-4px);
  box-shadow: 0 6px 16px rgba(21, 43, 88, 0.2);
  border-top-color: var(--primary-blue);
}

.feature-icon-large {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
  font-size: 32px;
  color: #fff;
}

.quick-icon {
  background: linear-gradient(135deg, #FF6B35 0%, #F7931E 100%);
}

.secure-icon {
  background: linear-gradient(135deg, var(--primary-blue) 0%, var(--dark-blue) 100%);
}

.flexible-icon {
  background: linear-gradient(135deg, #4CAF50 0%, #2E7D32 100%);
}

.feature-box-title {
  font-size: 18px;
  font-weight: 600;
  color: #333;
  margin-bottom: 8px;
}

.feature-box-text {
  font-size: 14px;
  color: #666;
  line-height: 1.5;
}

@media (max-width: 575px) {
  .feature-box .card-body {
    padding: 14px 10px;
  }

  .feature-icon-large {
    width: 48px;
    height: 48px;
    font-size: 22px;
    margin-bottom: 8px;
  }

  .feature-box-title {
    font-size: 13px;
    margin-bottom: 5px;
    line-height: 1.3;
  }

  .feature-box-text {
    font-size: 11px;
    line-height: 1.4;
  }

  .feature-box-center {
    display: flex;
    justify-content: center;
  }

  .feature-box-center .feature-box {
    max-width: 300px;
    margin: 0 auto;
  }

  .contact-icon {
    font-size: 30px;
    margin-bottom: 6px;
  }

  .contact-title {
    font-size: 13px;
    margin-bottom: 5px;
  }

  .contact-info {
    font-size: 11px;
    line-height: 1.4;
  }

  .contact-section .card-body {
    padding: 16px 12px;
  }

  .contact-section .section-title {
    font-size: 18px;
    margin-bottom: 12px;
  }

  .contact-item-center {
    display: flex;
    justify-content: center;
    flex-direction: column;
    align-items: center;
  }

  .contact-item-center > * {
    max-width: 300px;
  }
}

/* How It Works */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.steps-grid .step-card:nth-child(3) {
  grid-column: 1 / -1;
  justify-self: center;
  max-width: 300px;
}

.step-card {
  border: none;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  transition: all 0.3s ease;
  height: 100%;
  border-left: 3px solid transparent;
}

.step-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 6px 16px rgba(21, 43, 88, 0.2);
  border-left-color: var(--primary-blue);
}

@media (min-width: 576px) {
  .steps-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
  }
}

@media (min-width: 768px) {
  .steps-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
  }

  .steps-grid .step-card:nth-child(3) {
    grid-column: auto;
    justify-self: stretch;
    max-width: none;
  }
}

.step-number {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary-blue) 0%, var(--dark-blue) 100%);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  font-weight: 700;
  margin: 0 auto 16px;
}

.step-title {
  font-size: 18px;
  font-weight: 600;
  color: #333;
  margin-bottom: 8px;
}

.step-text {
  font-size: 14px;
  color: #666;
  line-height: 1.5;
}

/* Why Choose Us */
.why-choose-section {
  padding: 40px 0;
}

.why-choose-content {
  padding: 20px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.why-choose-header {
  display: flex;
  align-items: center;
  margin-bottom: 20px;
}

.why-choose-icon {
  font-size: 36px;
  color: var(--primary-blue);
  margin-right: 12px;
}

.why-choose-title {
  font-size: 28px;
  font-weight: 600;
  color: var(--primary-blue);
  margin: 0;
  line-height: 1.2;
}

.why-choose-intro {
  font-size: 16px;
  color: #666;
  line-height: 1.6;
  margin-bottom: 24px;
}

.why-choose-benefits {
  list-style: none;
  padding: 0;
  margin: 0;
}

.why-choose-benefits li {
  display: flex;
  align-items: flex-start;
  margin-bottom: 16px;
  font-size: 16px;
  color: #333;
  font-weight: 500;
  padding: 12px;
  background: #f8f9fa;
  border-radius: 8px;
  transition: all 0.2s ease;
}

.why-choose-benefits li:hover {
  background: #e8ecf5;
  transform: translateX(4px);
}

.benefit-check {
  color: var(--primary-blue);
  font-size: 24px;
  margin-right: 12px;
  flex-shrink: 0;
  margin-top: 2px;
}

/* Promotional Card */
.promo-card {
  background: linear-gradient(135deg, #e8ecf5 0%, #c5d1e8 30%, #6b8fc7 70%, var(--primary-blue) 100%);
  border-radius: 20px;
  padding: 24px;
  color: #fff;
  box-shadow: 0 8px 24px rgba(21, 43, 88, 0.2);
  position: relative;
  overflow: hidden;
  min-height: 500px;
}

.promo-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    radial-gradient(circle at 20% 30%, rgba(255, 255, 255, 0.15) 2px, transparent 2px),
    radial-gradient(circle at 80% 70%, rgba(255, 255, 255, 0.1) 1px, transparent 1px);
  background-size: 40px 40px, 30px 30px;
  opacity: 0.4;
  pointer-events: none;
}

.promo-card-header {
  display: flex;
  align-items: flex-start;
  margin-bottom: 20px;
  position: relative;
  z-index: 2;
}

.promo-logo {
  height: 50px;
  width: auto;
  margin-right: 12px;
  flex-shrink: 0;
}

.promo-company-info {
  flex: 1;
}

.promo-company-name {
  font-size: 18px;
  font-weight: 700;
  color: #152b58;
  margin: 0 0 4px 0;
  line-height: 1.2;
  letter-spacing: 0.5px;
}

.promo-tagline {
  font-size: 12px;
  color: #152b58;
  margin: 0 0 2px 0;
  font-weight: 600;
}

.promo-services {
  font-size: 10px;
  color: #152b58;
  margin: 0;
  opacity: 0.9;
}

.promo-card-body {
  position: relative;
  z-index: 2;
}

.promo-main-heading {
  font-size: 32px;
  font-weight: 700;
  color: #fff;
  margin: 0 0 20px 0;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.loan-types-list {
  list-style: none;
  padding: 0;
  margin: 0 0 20px 0;
}

.loan-types-list li {
  font-size: 16px;
  color: #fff;
  margin-bottom: 8px;
  padding-left: 20px;
  position: relative;
  font-weight: 500;
}

.loan-types-list li::before {
  content: '•';
  position: absolute;
  left: 0;
  font-size: 20px;
  color: #fff;
}

.promo-flexible-text {
  font-size: 14px;
  color: #fff;
  margin: 0 0 16px 0;
  opacity: 0.95;
}

.promo-phone-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background-color: #fff;
  color: #E53935;
  padding: 12px 20px;
  border-radius: 25px;
  text-decoration: none;
  font-weight: 600;
  font-size: 16px;
  border: 2px solid #E53935;
  transition: all 0.3s;
}

.promo-phone-btn:hover {
  background-color: #E53935;
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(229, 57, 53, 0.3);
  text-decoration: none;
}

.promo-phone-btn .material-icons-outlined {
  font-size: 20px;
}

@media (max-width: 991px) {
  .why-choose-section {
    padding: 30px 0;
  }

  .promo-card {
    margin-top: 30px;
    min-height: auto;
  }
}

@media (max-width: 575px) {
  .why-choose-section {
    padding: 20px 0;
  }

  .why-choose-content {
    padding: 24px 16px;
    border-radius: 16px;
    margin-bottom: 24px;
    background: linear-gradient(135deg, #fff 0%, #f8f9fa 100%);
    box-shadow: 0 4px 16px rgba(21, 43, 88, 0.1);
    border: 1px solid rgba(21, 43, 88, 0.1);
  }

  .why-choose-header {
    flex-direction: column;
    align-items: center;
    margin-bottom: 20px;
    text-align: center;
    width: 100%;
    padding-bottom: 16px;
    border-bottom: 2px solid var(--primary-blue);
  }

  .why-choose-icon {
    font-size: 40px;
    margin-right: 0;
    margin-bottom: 12px;
    align-self: center;
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--dark-blue) 100%);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    box-shadow: 0 4px 12px rgba(21, 43, 88, 0.3);
  }

  .why-choose-title {
    font-size: 22px;
    text-align: center;
    width: 100%;
    margin-bottom: 0;
    font-weight: 700;
    color: var(--primary-blue);
    letter-spacing: -0.3px;
  }

  .why-choose-intro {
    font-size: 14px;
    margin-bottom: 24px;
    text-align: center;
    line-height: 1.6;
    color: #555;
    padding: 0 8px;
  }

  .why-choose-benefits {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .why-choose-benefits li {
    font-size: 14px;
    margin-bottom: 0;
    padding: 16px;
    display: flex;
    align-items: center;
    flex-wrap: nowrap;
    background: linear-gradient(135deg, #fff 0%, #f8f9fa 100%);
    border-radius: 12px;
    border: 1px solid rgba(21, 43, 88, 0.1);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
  }

  .why-choose-benefits li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: var(--primary-blue);
    transform: scaleY(0);
    transition: transform 0.3s ease;
  }

  .why-choose-benefits li:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(21, 43, 88, 0.2);
    border-color: var(--primary-blue);
  }

  .why-choose-benefits li:hover::before {
    transform: scaleY(1);
  }

  .benefit-check {
    font-size: 24px;
    margin-right: 14px;
    margin-top: 0;
    color: var(--primary-blue);
    background: rgba(21, 43, 88, 0.1);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
  }

  .promo-card {
    padding: 24px 18px;
    border-radius: 20px;
    min-height: auto;
    box-shadow: 0 8px 24px rgba(21, 43, 88, 0.25);
    border: 2px solid rgba(255, 255, 255, 0.3);
  }

  .promo-card-header {
    flex-direction: column;
    align-items: center;
    text-align: center;
    margin-bottom: 20px;
    padding-bottom: 16px;
    border-bottom: 2px solid rgba(255, 255, 255, 0.3);
  }

  .promo-logo {
    height: 50px;
    margin-right: 0;
    margin-bottom: 14px;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
  }

  .promo-company-info {
    width: 100%;
    text-align: center;
  }

  .promo-company-name {
    font-size: 14px;
    line-height: 1.4;
    margin-bottom: 8px;
    font-weight: 800;
    letter-spacing: 0.5px;
  }

  .promo-tagline {
    font-size: 12px;
    margin-bottom: 6px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
  }

  .promo-services {
    font-size: 10px;
    opacity: 0.95;
  }

  .promo-main-heading {
    font-size: 26px;
    margin-bottom: 20px;
    text-align: center;
    font-weight: 800;
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
    letter-spacing: -0.5px;
  }

  .loan-types-list {
    margin-bottom: 20px;
    background: rgba(255, 255, 255, 0.15);
    padding: 16px;
    border-radius: 12px;
    backdrop-filter: blur(10px);
  }

  .loan-types-list li {
    font-size: 14px;
    margin-bottom: 10px;
    padding-left: 20px;
    text-align: left;
    font-weight: 600;
    line-height: 1.5;
  }

  .loan-types-list li:last-child {
    margin-bottom: 0;
  }

  .promo-flexible-text {
    font-size: 13px;
    text-align: center;
    margin-bottom: 20px;
    font-weight: 500;
    opacity: 0.95;
    line-height: 1.5;
  }

  .promo-phone-btn {
    padding: 16px 28px;
    font-size: 15px;
    width: 100%;
    justify-content: center;
    display: flex;
    font-weight: 700;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 12px rgba(229, 57, 53, 0.4);
    transition: all 0.3s ease;
  }

  .promo-phone-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 16px rgba(229, 57, 53, 0.5);
  }

  .promo-phone-btn .material-icons-outlined {
    font-size: 22px;
  }
}

/* Contact Section */
.contact-section .card {
  border: none;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  transition: all 0.3s ease;
}

.contact-section .card:hover {
  box-shadow: 0 4px 12px rgba(21, 43, 88, 0.15);
}

.contact-icon {
  font-size: 40px;
  color: var(--primary-blue);
  margin-bottom: 12px;
}

.contact-title {
  font-size: 18px;
  font-weight: 600;
  color: #333;
  margin-bottom: 8px;
}

.contact-info {
  font-size: 14px;
  color: #666;
  line-height: 1.6;
  margin: 0;
}

.contact-info a {
  color: var(--primary-blue);
  text-decoration: none;
}

.contact-info a:hover {
  text-decoration: underline;
}

/* CTA Section */
.cta-section {
  margin-bottom: 0;
  padding-bottom: 0;
}

.cta-section .card {
  border: none;
  box-shadow: 0 4px 16px rgba(21, 43, 88, 0.2);
  background: linear-gradient(135deg, var(--primary-blue) 0%, var(--dark-blue) 100%);
  color: #fff;
  transition: all 0.3s ease;
  margin-bottom: 0;
}

.cta-section .card:hover {
  box-shadow: 0 6px 20px rgba(21, 43, 88, 0.3);
  transform: translateY(-2px);
}

.cta-section .card-body {
  color: #fff;
}

.cta-section .section-title {
  color: #fff;
}

.cta-section .btn-primary {
  background-color: #fff;
  color: var(--primary-blue);
  border: none;
  padding: 14px 40px;
  font-size: 16px;
  font-weight: 600;
}

.cta-section .btn-primary:hover {
  background-color: #f0f0f0;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
}

/* Footer */
.app-footer {
  background-color: var(--primary-blue);
  color: #fff;
  padding: 20px 0;
  margin-top: 40px;
  margin-bottom: 0;
}

.home-page .app-footer {
  margin-bottom: 0 !important;
  margin-top: 40px;
}

.app-footer .container-fluid {
  margin-bottom: 0;
  padding-bottom: 0;
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
  padding-left: 12px;
  padding-right: 12px;
}

@media (max-width: 575px) {
  .container-fluid {
    padding-left: 10px;
    padding-right: 10px;
  }
}

.footer-row {
  display: flex;
  flex-wrap: wrap;
}

.footer-copyright {
  order: 2;
}

.footer-links {
  order: 1;
}

@media (min-width: 768px) {
  .footer-copyright {
    order: 1;
  }

  .footer-links {
    order: 2;
  }
}

@media (max-width: 575px) {
  .home-page .app-footer {
    margin-bottom: 0 !important;
    margin-top: 30px;
    padding-bottom: 20px !important;
  }

  .app-footer .container-fluid {
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
  }

  .footer-links {
    margin-bottom: 12px;
  }

  .footer-copyright {
    margin-bottom: 0 !important;
  }
}

body.home-page {
  padding-bottom: 0 !important;
  margin-bottom: 0 !important;
}

html.home-page {
  padding-bottom: 0 !important;
  margin-bottom: 0 !important;
}

.home-page .main-content {
  margin-bottom: 0 !important;
  padding-bottom: 0 !important;
}

.home-page .app-footer {
  margin-bottom: 0 !important;
  padding-bottom: 20px !important;
}

@media (max-width: 575px) {
  body.home-page {
    padding-bottom: 0 !important;
    margin-bottom: 0 !important;
  }

  html.home-page {
    padding-bottom: 0 !important;
    margin-bottom: 0 !important;
  }

  .home-page .main-content {
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
  }

  .home-page .app-footer {
    margin-bottom: 0 !important;
    padding-bottom: 20px !important;
  }
}

.app-footer a {
  color: #fff;
  text-decoration: none;
}

.app-footer a:hover {
  text-decoration: underline;
  opacity: 0.9;
}

/* Mobile Menu */
.mobile-menu {
  position: fixed;
  top: 0;
  right: -100%;
  width: 280px;
  height: 100%;
  background-color: #fff;
  box-shadow: -2px 0 8px rgba(0,0,0,0.2);
  z-index: 1500;
  transition: right 0.3s;
  padding-top: 60px;
}

.mobile-menu.active {
  right: 0;
}

.mobile-menu-content {
  padding: 20px;
}

.mobile-menu-item {
  display: flex;
  align-items: center;
  padding: 16px;
  color: #333;
  text-decoration: none;
  border-bottom: 1px solid #eee;
  transition: background-color 0.2s;
}

.mobile-menu-item:hover {
  background-color: #f5f5f5;
  text-decoration: none;
  color: #333;
}

.mobile-menu-item .material-icons-outlined {
  margin-right: 12px;
  font-size: 24px;
  color: var(--primary-blue);
}

/* Header Logo */
.header-logo {
  height: 36px;
  width: auto;
  margin-right: 10px;
  object-fit: contain;
}

.app-logo-title {
  display: flex;
  align-items: center;
  gap: 8px;
}

.app-logo-title .app-title {
  margin: 0;
  font-size: 18px;
  font-weight: 600;
  letter-spacing: 0.5px;
}

@media (max-width: 575px) {
  .header-logo {
    height: 30px;
    margin-right: 8px;
  }

  .app-logo-title .app-title {
    font-size: 16px;
  }
}

/* Auth Pages (Login/Register) */
.auth-page {
  padding-bottom: 0 !important;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
}

.auth-container {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  flex: 1;
  padding: 20px;
  padding-top: 20px;
  position: relative;
}

.auth-section {
  display: none;
  width: 100%;
  max-width: 450px;
  margin: 0 auto;
  animation: fadeIn 0.3s ease;
}

.auth-section.active {
  display: block;
}

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

.auth-card {
  width: 100%;
  max-width: 450px;
  margin: 0 auto;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
  border: none;
}

.auth-card .card-body {
  padding: 20px;
}

.auth-header {
  padding: 0;
  padding-bottom: 16px;
  text-align: center;
  margin-bottom: 0;
}

.auth-logo {
  height: 40px;
  width: auto;
  margin: 0 auto 10px;
  display: block;
}

.auth-title {
  font-size: 22px;
  font-weight: 700;
  color: var(--primary-blue);
  margin-bottom: 4px;
}

.auth-subtitle {
  font-size: 12px;
  color: #666;
  margin: 0;
}

.auth-form {
  padding: 0;
  margin-top: 0;
}

.form-group {
  margin-bottom: 14px;
}

.form-label {
  font-size: 13px;
  font-weight: 500;
  color: #333;
  margin-bottom: 5px;
  display: block;
}

.form-control {
  border: 1px solid #ddd;
  border-radius: 8px;
  padding: 10px 12px;
  font-size: 14px;
  transition: all 0.3s ease;
  width: 100%;
}

.form-control:focus {
  border-color: var(--primary-blue);
  box-shadow: 0 0 0 3px rgba(21, 43, 88, 0.1);
  outline: none;
}

.input-group {
  display: flex;
  width: 100%;
}

.input-group-prepend {
  display: flex;
}

.input-group-text {
  background-color: #f8f9fa;
  border: 1px solid #ddd;
  border-right: none;
  border-radius: 8px 0 0 8px;
  padding: 12px 12px;
  font-size: 14px;
  font-weight: 500;
  color: var(--primary-blue);
  display: flex;
  align-items: center;
  white-space: nowrap;
}

.input-group .form-control {
  border-left: none;
  border-radius: 0 8px 8px 0;
}

.password-input-group {
  position: relative;
  display: flex;
  align-items: center;
  width: 100%;
}

.password-input-group .form-control {
  padding-right: 45px;
}

.btn-toggle-password {
  position: absolute;
  right: 12px;
  background: none;
  border: none;
  color: #666;
  cursor: pointer;
  padding: 4px;
  display: flex;
  align-items: center;
  transition: color 0.2s;
  z-index: 10;
}

.btn-toggle-password:hover {
  color: var(--primary-blue);
}

.btn-toggle-password .material-icons-outlined {
  font-size: 20px;
}

.form-check {
  display: flex;
  align-items: center;
}

.form-check-input {
  margin-right: 8px;
  margin-top: 0;
}

.form-check-label {
  font-size: 13px;
  color: #666;
  margin: 0;
  cursor: pointer;
}

.forgot-password-link {
  font-size: 13px;
  color: var(--primary-blue);
  text-decoration: none;
  font-weight: 500;
}

.forgot-password-link:hover {
  text-decoration: underline;
  color: var(--dark-blue);
}

.btn-auth {
  padding: 11px;
  font-size: 14px;
  font-weight: 600;
  border-radius: 8px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-top: 4px;
}

.auth-switch-text {
  font-size: 14px;
  color: #666;
}

.auth-switch-link {
  color: var(--primary-blue);
  font-weight: 600;
  text-decoration: none;
}

.auth-switch-link:hover {
  text-decoration: underline;
  color: var(--dark-blue);
}

.form-text {
  font-size: 10px;
  color: #666;
  margin-top: 3px;
  line-height: 1.3;
}

@media (max-width: 575px) {
  .auth-container {
    padding: 12px;
    padding-top: 16px;
    align-items: flex-start;
  }

  .auth-card {
    max-width: 100%;
  }

  .auth-card .card-body {
    padding: 18px 14px;
  }

  .auth-header {
    padding-bottom: 12px;
  }

  .auth-logo {
    height: 35px;
    margin-bottom: 8px;
  }

  .auth-title {
    font-size: 20px;
    margin-bottom: 3px;
  }

  .auth-subtitle {
    font-size: 11px;
  }

  .auth-form {
    padding: 0;
  }

  .form-group {
    margin-bottom: 12px;
  }

  .form-label {
    font-size: 12px;
    margin-bottom: 4px;
  }

  .form-control {
    padding: 9px 11px;
    font-size: 13px;
  }

  .btn-auth {
    padding: 10px;
    font-size: 13px;
    margin-top: 2px;
  }

  .form-text {
    font-size: 9px;
    margin-top: 2px;
  }
}

/* Responsive Styles */
@media (max-width: 575px) {
  .welcome-title {
    font-size: 22px;
  }

  .welcome-subtitle {
    font-size: 14px;
  }

  .feature-icon-large {
    width: 56px;
    height: 56px;
    font-size: 28px;
  }

  .feature-box-title {
    font-size: 16px;
  }

  .feature-box-text {
    font-size: 13px;
  }

  .step-number {
    width: 40px;
    height: 40px;
    font-size: 18px;
    margin-bottom: 12px;
  }

  .step-title {
    font-size: 14px;
    margin-bottom: 6px;
  }

  .step-text {
    font-size: 12px;
    line-height: 1.4;
  }

  .step-card .card-body {
    padding: 16px 12px;
  }

  .benefit-icon {
    font-size: 28px;
  }

  .benefit-text {
    font-size: 12px;
  }

  .contact-icon {
    font-size: 32px;
  }

  .contact-title {
    font-size: 16px;
  }

  .contact-info {
    font-size: 13px;
  }

  .cta-section .btn-primary {
    padding: 12px 32px;
    font-size: 14px;
  }

  .app-title {
    font-size: 14px;
  }
}

@media (min-width: 768px) {
  .welcome-title {
    font-size: 32px;
  }

  .welcome-subtitle {
    font-size: 18px;
  }

  .app-logo-title .app-title {
    font-size: 20px;
  }
}


/* Sign Agreement Button & Badge Styles */
.btn-sign-agreement {
  background-color: var(--primary-blue);
  color: #fff;
  border: none;
  box-shadow: 0 2px 4px rgba(0,0,0,0.2);
  transition: all 0.3s ease;
}

.btn-sign-agreement:hover {
  background-color: var(--dark-blue);
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 4px 8px rgba(0,0,0,0.3);
}

.badge-action-required {
  display: inline-block;
  padding: 6px 12px;
  font-size: 12px;
  font-weight: 600;
  border-radius: 4px;
  background-color: #ffc107; /* Warning color */
  color: #000;
  border: 1px solid #e0a800;
}

/* Hide footer on mobile devices */
@media (max-width: 767.98px) {
  .app-footer {
    display: none !important;
  }
}
