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

    :root {
      --bg-color: linear-gradient(135deg, #f5f7fa, #e0e4e9);
      --text-color: #1B1B1B;
      --card-bg: rgba(255, 255, 255, 0.95);
      --input-bg: #ffffff;
      --input-text: #1B1B1B;
      --border-color: #d1d5db;
      --primary-color: #FF8C00;
      --primary-dark: #FF6A00;
    }

    .dark {
      --bg-color: linear-gradient(135deg, #1B1B1B, #2a2a2a);
      --text-color: #ffffff;
      --card-bg: rgba(40, 40, 40, 0.85);
      --input-bg: #333;
      --input-text: #ffffff;
      --border-color: #555;
    }

    body {
      font-family: 'Inter', sans-serif;
      background: var(--bg-color);
      color: var(--text-color);
      min-height: 100vh;
      display: flex;
      flex-direction: column;
      transition: background 0.3s ease, color 0.3s ease;
      -webkit-font-smoothing: antialiased;
    }

    .header {
      height: 56px;
      width: 100%;
    }

    .login-wrapper {
      flex: 1;
      display: flex;
      align-items: center;
      justify-content: center;
      padding: 1rem;
    }

    .container {
      background: var(--card-bg);
      backdrop-filter: blur(15px) saturate(180%);
      border-radius: 1rem;
      box-shadow: 0 4px 24px rgba(0, 0, 0, 0.1);
      padding: 1.5rem;
      width: 100%;
      max-width: 400px;
      position: relative;
      overflow: hidden;
    }

    @media (min-width: 768px) {
      .container {
        padding: 2rem;
        max-width: 450px;
      }
    }

    @media (max-width: 480px) {
      .container {
        padding: 1rem;
        margin: 0 0.5rem;
      }
    }

    .logo {
      display: block;
      margin: 0 auto 1rem;
      max-width: 180px;
      width: 100%;
      height: auto;
      animation: fadeIn 0.5s ease-out;
    }

    @media (max-width: 480px) {
      .logo {
        max-width: 140px;
        margin-bottom: 0.8rem;
      }
    }

    .cor-entrar {
      font-family: 'Montserrat', sans-serif;
      font-size: 1.75rem;
      font-weight: 600;
      color: var(--text-color);
      text-align: center;
      margin-bottom: 1rem;
    }

    @media (max-width: 480px) {
      .cor-entrar {
        font-size: 1.5rem;
      }
    }

    .form-group {
      display: flex;
      flex-direction: column;
      gap: 1rem;
    }

    .input-container {
      position: relative;
      width: 100%;
    }

    .form-control {
      width: 100%;
      background: var(--input-bg);
      border: none;
      border-bottom: 2px solid var(--border-color);
      padding: 0.8rem 0.5rem;
      border-radius: 0;
      color: var(--input-text);
      font-size: 1rem;
      font-family: 'Inter', sans-serif;
      transition: border-color 0.3s ease, box-shadow 0.3s ease;
      min-height: 48px;
      line-height: 1.5;
    }

    .form-control:focus {
      outline: none;
      border-color: var(--primary-color);
      box-shadow: 0 2px 8px rgba(255, 140, 0, 0.2);
    }

    .form-control.valid {
      border-color: #28a745;
    }

    .form-control.invalid {
      border-color: #dc3545;
    }

    .form-control:-webkit-autofill {
      -webkit-text-fill-color: var(--input-text) !important;
      background: var(--input-bg) !important;
      box-shadow: 0 0 0 30px var(--input-bg) inset !important;
    }

    .form-control:disabled {
      background: rgba(200, 200, 200, 0.2);
      cursor: not-allowed;
      opacity: 0.6;
    }

    .form-control + label {
      position: absolute;
      top: 50%;
      left: 0.5rem;
      transform: translateY(-50%);
      color: #999;
      font-size: 1rem;
      pointer-events: none;
      transition: top 0.3s ease, font-size 0.3s ease, color 0.3s ease;
    }

    .form-control:focus + label,
    .form-control:not(:placeholder-shown) + label {
      top: -9px;
      font-size: 0.75rem;
      color: var(--primary-color);
    }

    @media (max-width: 480px) {
      .form-control {
        font-size: 0.95rem;
        padding: 0.6rem 0.4rem;
        min-height: 44px;
      }
      .form-control + label {
        font-size: 0.9rem;
      }
      .form-control:focus + label,
      .form-control:not(:placeholder-shown) + label {
        font-size: 0.65rem;
        top: -5px;
      }
    }

    .toggle-password {
      position: absolute;
      right: 0.5rem;
      top: 50%;
      transform: translateY(-50%);
      cursor: pointer;
      color: #999;
      font-size: 1.1rem;
      transition: color 0.2s ease;
    }

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

    .alert-front {
      color: #dc3545;
      font-size: 0.85rem;
      margin-top: 0.3rem;
      display: none;
      font-family: 'Inter', sans-serif;
      font-weight: 500;
    }

    .alert-front.show {
      display: block;
      animation: fadeIn 0.3s ease;
    }

    @keyframes fadeIn {
      from { opacity: 0; }
      to { opacity: 1; }
    }

    .btn_full {
      background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
      border: none;
      border-radius: 0.75rem;
      color: #fff;
      padding: 0.8rem;
      font-family: 'Inter', sans-serif;
      font-size: 1rem;
      font-weight: 500;
      cursor: pointer;
      transition: transform 0.2s ease, box-shadow 0.2s ease;
      display: flex;
      align-items: center;
      justify-content: center;
      position: relative;
      overflow: hidden;
      min-height: 48px;
      touch-action: manipulation;
    }

    .btn_full:disabled {
      opacity: 0.6;
      cursor: not-allowed;
    }

    .btn_full:hover:not(:disabled) {
      transform: translateY(-2px);
      box-shadow: 0 4px 12px rgba(255, 140, 0, 0.3);
    }

    .btn_full:active:not(:disabled) {
      transform: scale(0.98);
    }

    .btn_full.button--loading::before {
      content: '';
      display: inline-block;
      width: 16px;
      height: 16px;
      border: 2px solid #fff;
      border-top-color: transparent;
      border-radius: 50%;
      animation: spin 0.8s linear infinite;
      margin-right: 8px;
    }

    @keyframes spin {
      to { transform: rotate(360deg); }
    }

    .btn_full.secondary {
      background: #4b5563;
    }

    .btn_full.secondary:hover:not(:disabled) {
      background: #6b7280;
      box-shadow: 0 4px 12px rgba(107, 114, 128, 0.3);
    }

    .btn_full.create-account {
      background: #1a73e8;
    }

    .btn_full.create-account:hover:not(:disabled) {
      background: #2563eb;
      box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
    }

    @media (max-width: 480px) {
      .btn_full {
        font-size: 0.95rem;
        padding: 0.7rem;
        min-height: 44px;
      }
    }

    /* Estilos para o modal de Esqueceu Senha */
    .modal-backdrop {
      position: fixed;
      inset: 0;
      background: rgba(0, 0, 0, 0.7);
      backdrop-filter: blur(3px);
      display: none;
      justify-content: center;
      align-items: center;
      z-index: 1000;
    }

    .modal-backdrop.show {
      display: flex !important;
      opacity: 1 !important;
    }

    .modal-content {
      background: var(--card-bg);
      backdrop-filter: blur(15px) saturate(180%);
      border-radius: 1rem;
      box-shadow: 0 4px 24px rgba(0, 0, 0, 0.15);
      padding: 1.5rem;
      width: 100%;
      max-width: 400px;
      position: relative;
      z-index: 1002;
      opacity: 1 !important;
    }

    @media (max-width: 480px) {
      .modal-content {
        margin: 0 0.5rem;
        padding: 1rem;
        max-width: 95%;
      }
    }

    .modal-logo {
      display: block;
      margin: 0 auto 1rem;
      max-width: 140px;
      width: 100%;
      height: auto;
    }

    .modal-title {
      font-family: 'Montserrat', sans-serif;
      font-size: 1.5rem;
      font-weight: 600;
      text-align: center;
      color: var(--text-color);
      margin-bottom: 1rem;
    }

    .modal-close {
      position: absolute;
      top: 0.75rem;
      right: 0.75rem;
      background: none;
      border: none;
      font-size: 1.25rem;
      color: var(--text-color);
      cursor: pointer;
      transition: color 0.2s ease;
    }

    .modal-close:hover {
      color: var(--primary-color);
    }

    .modal-buttons {
      display: flex;
      gap: 0.75rem;
      justify-content: center;
      margin-top: 1.5rem;
    }

    .help-icon {
      background: none;
      border: none;
      color: #999;
      font-size: 1.1rem;
      cursor: pointer;
      transition: color 0.2s ease;
      margin-left: 0.5rem;
    }

    .help-icon:hover {
      color: var(--primary-color);
    }

    .tooltip {
      position: absolute;
      top: 100%;
      left: 50%;
      transform: translateX(-50%);
      background: var(--card-bg);
      color: var(--text-color);
      padding: 0.75rem;
      border-radius: 0.5rem;
      box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
      font-size: 0.85rem;
      z-index: 1003;
      display: none;
      max-width: 90%;
      text-align: left;
    }

    .tooltip.show {
      display: block;
      animation: fadeIn 0.3s ease;
    }

    .tooltip p {
      margin: 0 0 0.5rem;
      font-weight: 500;
    }

    .tooltip ul {
      margin: 0;
      padding-left: 1rem;
      list-style: disc;
    }

    /* Estilos para o modal de Senha Incorreta */
    .modal.fade {
      position: fixed;
      inset: 0;
      background: rgba(0, 0, 0, 0.7);
      backdrop-filter: blur(3px);
      display: none;
      justify-content: center;
      align-items: center;
      z-index: 1000;
    }

    .modal.fade.show {
      display: flex !important;
      opacity: 1 !important;
    }

    .modal-dialog {
      width: 100%;
      max-width: 400px;
      display: flex;
      align-items: center;
      justify-content: center;
      height: 100%;
      z-index: 1002;
    }

    @media (max-width: 480px) {
      .modal-dialog {
        max-width: 95%;
      }
    }

    .error-modal-content {
      background: var(--card-bg);
      backdrop-filter: blur(15px) saturate(180%);
      border-radius: 1rem;
      box-shadow: 0 4px 24px rgba(0, 0, 0, 0.15);
      padding: 1.5rem;
      width: 100%;
      max-width: 400px;
      position: relative;
      z-index: 1002;
      opacity: 1 !important;
    }

    @media (max-width: 480px) {
      .error-modal-content {
        margin: 0 0.5rem;
        padding: 1rem;
        max-width: 95%;
      }
    }

    .error-modal-header {
      display: flex;
      justify-content: space-between;
      align-items: center;
      padding: 0 0 0.75rem;
    }

    .error-modal-title {
      font-family: 'Montserrat', sans-serif;
      font-size: 1.5rem;
      font-weight: 600;
      color: var(--text-color);
      margin: 0;
    }

    .error-modal-close {
      background: none;
      border: none;
      font-size: 1.25rem;
      color: var(--text-color);
      cursor: pointer;
      transition: color 0.2s ease;
    }

    .error-modal-close:hover {
      color: var(--primary-color);
    }

    .error-modal-body {
      font-family: 'Inter', sans-serif;
      font-size: 0.95rem;
      color: var(--text-color);
      padding: 0.75rem 0;
      text-align: center;
    }

    .error-modal-footer {
      padding: 0.75rem 0 0;
      display: flex;
      justify-content: center;
    }

    .error-btn-default {
      background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
      border: none;
      border-radius: 0.75rem;
      color: #fff;
      padding: 0.7rem 1.5rem;
      font-family: 'Inter', sans-serif;
      font-size: 0.95rem;
      font-weight: 500;
      cursor: pointer;
      transition: transform 0.2s ease, box-shadow 0.2s ease;
    }

    .error-btn-default:hover {
      transform: translateY(-2px);
      box-shadow: 0 4px 12px rgba(255, 140, 0, 0.3);
    }

    @media (prefers-reduced-motion: reduce) {
      .modal-content, .error-modal-content, .btn_full, .modal-backdrop, .modal.fade, .alert-front, .tooltip {
        transition: none;
        animation: none;
      }
    }

    #particleCanvas {
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      z-index: -1;
      pointer-events: none;
      display: none;
    }

    @media (min-width: 768px) {
      #particleCanvas {
        display: block;
      }
    }