  :root {
    --primary-color: #058ed9;
    --secondary-color: #3f37c9;
    --accent-color: #4895ef;
    --success-color: #4cc9f0;
    --light-color: #f8f9fa;
    --dark-color: #212529;
    --bs-primary: #1c75bc;
    --bs-primary-rgb: 16, 188, 105;
    --bs-secondary: #2b2b2b;
    --bs-secondary-rgb: 108, 117, 125;
    --bs-success: #28a745 !important;
    --bs-success-rgb: 40, 167, 69;
    --bs-info: #17a2b8;
    --bs-info-rgb: 23, 162, 184;
    --bs-warning: #ffc107;
    --bs-warning-rgb: 255, 193, 7;
    --bs-danger: #dc3545;
    --bs-danger-rgb: 220, 53, 69;
    --bs-light: #f8f9fa;
    --bs-light-rgb: 248, 249, 250;
    --bs-dark: #343a40;
    --bs-dark-rgb: 52, 58, 64;
    --bs-custom-color1: #ff6b6b;
    --bs-custom-color1-rgb: 255, 107, 107;
    --bs-custom-color2: #4ecdc4;
    --bs-custom-color2-rgb: 78, 205, 196;
    --bg-start: #f5f7fa;
    --bg-end: #c3cfe2;
  }

  [data-bs-theme="dark"] {
    --bg-start: #343a40;
    --bg-end: #000000;
  }

  body {
    background-color: var(--bg-start);
    background-image: linear-gradient(135deg, var(--bg-start) 0%, var(--bg-end) 100%);
    background-attachment: fixed;
    min-height: 100vh;
  }

  .survey-bg {
    background: linear-gradient(135deg, #f8fafc 0%, #e0e7ef 100%);
    min-height: 100vh;
  }

  .bg-primary {
    background-color: var(--bs-primary) !important;
  }

  .text-primary {
    color: var(--bs-primary) !important;
  }

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

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

  .bg-custom-color1 {
    background-color: var(--bs-custom-color1) !important;
  }

  .text-custom-color1 {
    color: var(--bs-custom-color1) !important;
  }

  .btn-custom-color1 {
    background-color: var(--bs-custom-color1) !important;
    border-color: var(--bs-custom-color1) !important;
    color: white !important;
  }

  .btn-custom-color1:hover {
    background-color: #ff5252 !important;
    border-color: #ff3939 !important;
  }

  .bg-custom-color2 {
    background-color: var(--bs-custom-color2) !important;
  }

  .text-custom-color2 {
    color: var(--bs-custom-color2) !important;
  }

  .btn-custom-color2 {
    background-color: var(--bs-custom-color2) !important;
    border-color: var(--bs-custom-color2) !important;
    color: white !important;
  }

  .btn-custom-color2:hover {
    background-color: #3dbeb6 !important;
    border-color: #36b1a9 !important;
  }

  .text-blue {
    color: #0000FF !important;
  }


  footer a {
    color: var(--primary-color);
    transition: color 0.3s ease;
  }

  footer a:hover {
    color: var(--secondary-color);
    text-decoration: none;
  }

  .connect-container {
    max-width: 440px;
    margin: 0 auto;
  }

  .firm-logo {
    width: 150px;
    object-fit: contain;
    max-height: 100px;
    max-width: 100%;
    transition: transform 0.3s ease;
  }

  .firm-logo:hover {
    transform: scale(1.05);
  }

  .device-badge {
    font-size: 0.65rem;
    background-color: rgba(255, 255, 255, 0.9);
    color: var(--dark-color);
    border-radius: 20px;
    padding: 0.25rem 0.75rem;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  }
  
  .auth-cards-grid {
    max-width: 24rem!important;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 0.5rem;
    padding: 1rem;
  }
  .auth-card {
    border-radius: 0.75rem;
    padding: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    text-decoration: none;
    position: relative;
    transition: all 0.25s ease;
    box-shadow: 0 6px 14px rgba(0, 0, 0, 0.05);
    border: 2px solid transparent;
    color: inherit;
    text-decoration: none;
  }
  .auth-card .card-content {
    display: flex;
    align-items: center;
    gap: 0.5rem;
  }
  .auth-card .icon-wrap {
    font-size: 1.5rem;
    color: var(--card-color);
  }
  .auth-card .label-wrap {
    font-weight: 600;
    font-size: 0.95rem;
  }
  .auth-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.1);
    border-color: var(--card-color);
  }
  .auth-card.active {
    border-color: var(--card-color);
  }
  .auth-card .check-badge {
    position: absolute;
    top: 5px;
    right: 4px;
    background-color: var(--card-color);
    color: white;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    font-size: 0.7rem;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  
  .privacy-policy-container .form-check-input.is-invalid {
    border-color: #dc3545;
  }
  .cursor-pointer {
    cursor: pointer;
  }
  .input-group {
    border-radius: 4px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
  }

  .input-group-text {
    background-color: #f8f9fa;
    border-right: none;
  }
  
  .alert {
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
  }

  .alert-success {
    color: var(--bs-success);
  }

  .alert-danger {
    color: var(--bs-danger);
  }

  .form-control {
    border-left: none;
    padding: 0.6rem 0.75rem;
  }

  .form-control:focus {
    box-shadow: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.25);
  }

  .btn-connect {
    background: var(--primary-color);
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 8px;
    transition: all 0.3s;
  }

  .btn-connect:hover {
    color: white;
    transform: translateY(-2px);
    background: var(--secondary-color);
    border-color: var(--secondary-color);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  }

  .connect-divider {
    display: flex;
    align-items: center;
    text-align: center;
    color: #6c757d;
    margin: 20px 0;
  }

  .connect-divider::before,
  .connect-divider::after {
    content: '';
    flex: 1;
    border-bottom: 1px solid #dee2e6;
  }

  .connect-divider::before {
    margin-right: 10px;
  }

  .connect-divider::after {
    margin-left: 10px;
  }

  .btn-outline-primary {
    border-width: 2px;
    transition: all 0.3s ease;
  }

  .btn-outline-primary:hover {
    background-color: rgba(123, 252, 1, 0.1);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  }

  .btn-outline-secondary {
    border-width: 2px;
    color: #6c757d;
    border-color: #6c757d;
    transition: all 0.3s ease;
  }

  .btn-outline-secondary:hover {
    background-color: rgba(108, 117, 125, 0.1);
    color: #6c757d;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  }

  .btn-success {
    background-color: #25D366 !important;
    border-color: #25D366 !important;
    transition: all 0.3s ease;
  }

  .btn-success:hover {
    background-color: #128C7E !important;
    border-color: #128C7E !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  }

  .method-button.active {
    color: white !important;
    background-color: var(--bs-primary);
    font-weight: bold;
  }

  .form-input-sm {
    width: 100%;
    max-width: 20rem;
    margin-left: auto;
    margin-right: auto;
    width: 100%;
  }

  .container {
    max-width: 100%;
    padding: 0 15px;
  }

  @media (min-width: 576px) {
    .container {
      max-width: 540px;
    }
  }

  @media (min-width: 768px) {
    .container {
      max-width: 720px;
    }
  }

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

  .go_back_button {
    position: absolute;
    top: 10px;
    left: 5px;
    cursor: pointer;
    border: 1px solid var(--bs-secondary);
    border-radius: 50%;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--bs-secondary);
    font-size: 1.5rem;
    transition: all 0.3s ease;
  }

  .go_back_button:hover {
    background-color: var(--bs-primary);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  }

  .go_back_button i {
    font-size: 1.2rem;
    transition: all 0.3s ease;
  }

  .emoji-selected,
  .emoji-btn:focus {
    outline: none;
    border: 3px solid var(--bs-primary) !important;
    background: var(--bs-primary-light) !important;
    box-shadow: 0 0 0 0.12rem rgba(34, 197, 94, 0.13);
    transform: scale(1.20);
    border-radius: 50%;
  }

  .emoji-selected.negative,
  .emoji-btn.negative:focus {
    border: 3px solid var(--bs-danger) !important;
    background: var(--bs-danger-light) !important;
    box-shadow: 0 0 0 0.12rem rgba(239, 68, 68, 0.13);
  }

  .emoji-btn .emoji-checkmark.negative {
    color: var(--bs-danger);
    border: 1.5px solid var(--bs-danger);
  }

  .survey-card {
    border-radius: 1.25rem;
    border: none;
    box-shadow: 0 4px 24px 0 rgba(80, 100, 120, 0.09);
    background: #fff;
    padding: 1rem 2rem;
  }

  .survey-container h1 {
    font-size: 2.1rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: #2d3748;
  }

  .survey-container p.text-muted {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
  }

  .survey-container label.form-label {
    font-weight: 600;
    color: #374151;
  }

  .survey-container .form-control,
  .survey-container .form-select {
    border-radius: 0.5rem;
    min-height: 44px;
    font-size: 1rem;
  }

  .survey-container .form-check-label {
    font-size: 1rem;
    color: #495057;
  }

  .survey-container .form-check-input:disabled {
    background-color: #e9ecef;
  }

  .survey-container .mb-4 {
    margin-bottom: 2rem !important;
  }

  .survey-container .text-danger {
    margin-left: 0.25rem;
  }

  .survey-container .btn-primary:disabled {
    background: #a7f3d0;
  }

  .emoji-btn {
    border: none;
    background: none;
    transition: transform 0.1s;
    border-radius: 50%;
    width: 2em;
    height: 2em;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    position: relative;
    padding: 0;
  }

  .emoji-btn .emoji-checkmark {
    color: var(--bs-primary);
    border: 1.5px solid var(--bs-primary);
  }

  .btn.active.negative,
  .btn:active.negative {
    background-color: var(--bs-danger) !important;
    color: #fff !important;
    border-color: var(--bs-danger) !important;
    box-shadow: 0 0 0 0.2rem rgba(239, 68, 68, 0.18);
  }

  .survey-container .btn-primary {
    background: linear-gradient(90deg, var(--bs-primary) 0%, var(--bs-primary-dark) 100%);
    border: none;
    border-radius: 0.5rem;
    font-weight: 600;
    padding: 0.75rem 2rem;
  }

  .survey-question-card {
    background: #fff;
    border-radius: 1rem;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.07);
    margin-bottom: 1.5rem;
    padding: 2rem 1rem;
    transition: box-shadow 0.2s;
  }

  .survey-question-card:focus-within,
  .survey-question-card:hover {
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.13);
  }

  .survey-footer {
    font-size: 12px;
    color: #718096;
  }

  @media (max-width: 600px) {
    .survey-card {
      border-radius: 0.5rem;
    }

    .survey-container h1 {
      font-size: 1.4rem;
    }
  }
  
  button:active,
  button:focus {
      transform: scale(0.98);
      filter: brightness(0.9);
      box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
  }

  button {
      transition: all 0.2s ease;
      cursor: pointer;
  }