        /* Import Fonts */
        @font-face {
            font-family: 'UTM Hanzel';
            src: url('{{ asset(' langding/font/UTM-Hanzel.ttf') }}') format('truetype');
            font-weight: normal;
            font-style: normal;
            font-display: swap;
        }

        :root {
            --color-red: #C9161D;
            --color-red-hover: #A01216;
            --color-text: #333;
            --color-gray: #666;
            --color-bg: #F5F6F8;
            --fs-10: 10px;
            --fs-12: 12px;
            --fs-14: 14px;
            --fs-15: 15px;
            --fs-16: 16px;
            --fs-18: 18px;
            --fs-20: 20px;
            --fs-22: 22px;
            --fs-24: 24px;
            --fs-28: 28px;
            --fs-30: 30px;
            --fs-32: 32px;
            --fs-36: 36px;
            --fs-38: 38px;
            --fs-40: 40px;
            --fs-42: 42px;
            --fs-48: 48px;
        }

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

        body {
            font-family: 'Montserrat', BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
            background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
            min-height: 100vh;
            display: flex;
            align-items: center;
            justify-content: center;
            background: url('../imgs/casumina-50.png') no-repeat center center;
            
    background-size: cover;

        }

        .fs-12 {
            font-size: var(--fs-12);
        }

        .fs-14 {
            font-size: var(--fs-14);
        }

        .fs-15 {
            font-size: var(--fs-15);
        }

        .fs-16 {
            font-size: var(--fs-16);
        }

        .fs-18 {
            font-size: var(--fs-18);
        }

        .fs-20 {
            font-size: var(--fs-20);
        }

        .fs-22 {
            font-size: var(--fs-22);
        }

        .fs-24 {
            font-size: var(--fs-24);
        }

        .fs-28 {
            font-size: var(--fs-28);
        }

        .fs-30 {
            font-size: var(--fs-30);
        }

        .fs-32 {
            font-size: var(--fs-32);
        }

        .fs-36 {
            font-size: var(--fs-36);
        }

        .fs-38 {
            font-size: var(--fs-38);
        }

        .fs-40 {
            font-size: var(--fs-40);
        }

        .fs-42 {
            font-size: var(--fs-42);
        }

        .fs-48 {
            font-size: var(--fs-48);
        }

        .font-hanzel {
            font-family: 'UTM Hanzel';
        }

        .text-red {
            color: var(--color-red);
        }

        a.text-red {
            color: var(--color-red) !important;
        }

        .auth-container {
            width: 100%;
            max-width: 480px;
            background: white;
            border-radius: 20px;
            box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
            overflow: hidden;
            animation: fadeInUp 0.5s ease;
            margin-left: auto;
        }

        @keyframes fadeInUp {
            from {
                opacity: 0;
                transform: translateY(30px);
            }

            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        .auth-header {
            padding: 40px 30px 0 30px;
            text-align: center;
        }

        .auth-logo {
            width: 120px;
            height: auto;
            margin-bottom: 20px;
        }

        .auth-body {
            padding: 40px 30px;
        }

        .form-label {
            font-weight: 600;
            color: var(--color-text);
            margin-bottom: 8px;
            font-size: 14px;
        }

        .form-control {
            height: 50px;
            border-color: transparent;
            padding: 0 16px;
            font-size: 15px;
            transition: all 0.3s ease;
            background-color: #8F92A10D;
        }

        .form-control::placeholder {
            opacity: .8;
        }

        .form-control:focus {
            border-color: var(--color-red);
            box-shadow: 0 0 0 0.2rem rgba(201, 22, 29, 0.15);
        }

        .input-group {
            position: relative;
        }

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

        .toggle-password {
            position: absolute;
            right: 12px;
            top: 50%;
            transform: translateY(-50%);
            background: none;
            border: none;
            color: var(--color-gray);
            cursor: pointer;
            padding: 8px;
            z-index: 10;
        }

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

        .btn-primary {
            background: linear-gradient(135deg, var(--color-red) 0%, var(--color-red-hover) 100%);
            border: none;
            height: 48px;
            border-radius: 8px;
            font-weight: 600;
            font-size: 16px;
            transition: all 0.3s ease;
            box-shadow: 0 4px 15px rgba(201, 22, 29, 0.3);
        }

        .btn-primary:hover {
            transform: translateY(-2px);
            box-shadow: 0 6px 20px rgba(201, 22, 29, 0.4);
        }

        .btn-primary:disabled {
            opacity: 0.6;
            cursor: not-allowed;
            transform: none;
        }

        .btn-outline-primary {
            border: 2px solid var(--color-red);
            color: var(--color-red);
            background: white;
            height: 48px;
            border-radius: 8px;
            font-weight: 600;
            transition: all 0.3s ease;
        }

        .btn-outline-primary:hover {
            background: var(--color-red);
            color: white;
        }

        .form-check-input:checked {
            background-color: var(--color-red);
            border-color: var(--color-red);
        }

        .alert {
            border-radius: 8px;
            border: none;
            padding: 12px 16px;
            margin-bottom: 20px;
        }

        .alert-danger {
            background-color: #ffe5e5;
            color: #c9161d;
        }

        .spinner-border-sm {
            width: 16px;
            height: 16px;
            border-width: 2px;
        }

        /* Loading overlay */
        .loading-overlay {
            display: none;
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0, 0, 0, 0.5);
            z-index: 9999;
            align-items: center;
            justify-content: center;
        }

        .loading-overlay.active {
            display: flex;
        }

        .loading-spinner {
            width: 50px;
            height: 50px;
            border: 4px solid #f3f3f3;
            border-top: 4px solid var(--color-red);
            border-radius: 50%;
            animation: spin 1s linear infinite;
        }

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

            100% {
                transform: rotate(360deg);
            }
        }

        /* Responsive */
        @media (max-width: 576px) {
            body {
                font-size: var(--fs-14);
            }

            .auth-container {
                border-radius: 12px;
            }

            .auth-header {
                padding: 30px 20px;
            }

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

            .auth-title {
                font-size: 24px;
            }
        }

        /* Social login buttons */
        .social-login {
            display: flex;
            gap: 12px;
            margin-top: 20px;
        }

        .social-btn {
            flex: 1;
            height: 48px;
            border-radius: 8px;
            border: 2px solid #e0e0e0;
            background: white;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 8px;
            font-weight: 600;
            transition: all 0.3s ease;
        }

        .social-btn:hover {
            border-color: var(--color-red);
            transform: translateY(-2px);
        }

        .divider {
            display: flex;
            align-items: center;
            text-align: center;
            margin: 24px 0;
        }

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

        .divider span {
            padding: 0 16px;
            color: var(--color-gray);
            font-size: 14px;
        }
        .input-icon {
        position: absolute;
        right: 16px;
        top: 50%;
        transform: translateY(-50%);
        color: var(--color-gray);
        pointer-events: none;
        font-size: 18px;
    }

    .position-relative input {
        padding-right: 45px;
    }

    .alert-success {
        background-color: #d4edda;
        color: #155724;
        border-radius: 8px;
        border: none;
        padding: 12px 16px;
        margin-bottom: 20px;
    }

    .text-muted {
        font-size: 13px;
        color: var(--color-gray) !important;
    }
        @media (min-width: 992px) {
  body {
    height: 100vh;          /* dùng viewport thật */
    overflow: hidden;       /* không scroll toàn trang */
  }
  .auth-container {
    max-height: calc(100vh - 32px); /* chừa mép trên/dưới */
    overflow: auto;                 /* nếu form dài thì scroll trong card */
  }
  /* giảm padding để dễ fit hơn */
  .auth-header { padding: 24px 30px 0 30px; }
  .auth-body   { padding: 24px 30px; }
  /* giảm khoảng cách giữa các field trong register */
  .auth-form .mb-4 { margin-bottom: 12px !important; }
}