    :root {
        --green: #6da32d;
        --green-light: #eaf3df;
        --green-dark: #5a8a24;
        --border: #ddd;
    }

    * {
        margin: 0;
        padding: 0;
        box-sizing: border-box;
        font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    }

    body {
        background: #f5f7fa;
        min-height: 100vh;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    /* WRAPPER - centers the card */
    .auth-wrapper {
        display: flex;
        justify-content: center;
        align-items: center;
        min-height: 100vh;
        width: 100%;
        padding: 20px;
        background: linear-gradient(135deg, #f5f7fa 0%, #e9ecef 100%);
    }

    /* CARD */
    .auth-card {
        max-width: 460px;
        width: 100%;
        padding: 40px 35px 45px;
        border-radius: 28px;
        background: #ffffff;
        box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08), 0 8px 20px rgba(0, 0, 0, 0.05);
        transition: transform 0.2s ease;
        text-align: center;
    }
 /* LOGO SECTION - centered on top */
    .logo-section {
        text-align: center;
        margin-bottom: 28px;
    }

    .logo-container {
        display: inline-flex;
        justify-content: center;
        align-items: center;
        cursor: pointer;
        transition: opacity 0.2s;
    }

    .logo-container:hover {
        opacity: 0.85;
    }

    .logo-img {
        width: 180px;
        height: auto;
        object-fit: contain;
        display: block;
        margin: 0 auto;
    }


    .tagline {
        font-size: 13px;
        color: #8b9b6e;
        margin-top: 8px;
        letter-spacing: 0.5px;
    }

    /* TABS - below logo */
    .tabs {
        display: flex;
        background: #f2f4f8;
        border-radius: 50px;
        margin: 10px 0 25px 0;
        padding: 5px;
        gap: 5px;
    }

    .tab {
        flex: 1;
        padding: 12px 12px;
        text-align: center;
        text-decoration: none;
        font-weight: 600;
        font-size: 0.95rem;
        color: #4a5568;
        border-radius: 40px;
        transition: all 0.25s ease;
        background: transparent;
    }

    .tab:hover {
        background: var(--green-light);
        color: var(--green-dark);
    }

    .tab.active {
        background: #ffffff;
        color: var(--green);
        box-shadow: 0 3px 8px rgba(0, 0, 0, 0.05);
        font-weight: 700;
    }

    /* FORM HEADING */
    h2 {
        font-size: 22px;
        margin-bottom: 20px;
        color: #2d3e2b;
        text-align: center;
        font-weight: 600;
    }

    /* FORM GROUPS */
    .form-group {
        margin-bottom: 18px;
        text-align: left;
    }

    label {
        font-size: 13px;
        font-weight: 500;
        color: #2d3e2b;
        display: block;
        margin-bottom: 6px;
        text-align: left;
    }

    /* input wrapper (icons inside) */
    .input-box {
        position: relative;
        display: flex;
        align-items: center;
        width: 100%;
        margin-bottom: 18px;
        margin-top: 5px;
    }

    .input-box input {
        width: 100%;
        padding: 13px 45px 13px 42px;
        border: 1.5px solid #e2e8f0;
        border-radius: 16px;
        font-size: 15px;
        background: #fff;
        transition: all 0.2s;
        outline: none;
        font-weight: 500;
    }

    .input-box input:focus {
        border-color: var(--green);
        box-shadow: 0 0 0 3px rgba(109, 163, 45, 0.1);
    }

    /* left icons (user, envelope, phone, lock) */
    .input-box i:first-child {
        position: absolute;
        left: 16px;
        color: #94a3b8;
        font-size: 1rem;
        pointer-events: none;
    }

    /* eye icon (right side) */
    .input-box .eye {
        position: absolute;
        right: 16px;
        cursor: pointer;
        color: #7c8b9f;
        font-size: 1rem;
        transition: color 0.2s;
        z-index: 2;
    }

    .input-box .eye:hover {
        color: var(--green);
    }

    /* BUTTON */
    .btn-primary {
        width: 100%;
        padding: 14px;
        border-radius: 40px;
        background: var(--green);
        color: white;
        border: none;
        font-weight: 700;
        font-size: 1rem;
        cursor: pointer;
        transition: all 0.25s ease;
        box-shadow: 0 4px 8px rgba(109, 163, 45, 0.2);
        letter-spacing: 0.3px;
        margin-top: 10px;
    }

    .btn-primary:hover {
        background: var(--green-dark);
        transform: translateY(-1px);
        box-shadow: 0 6px 14px rgba(109, 163, 45, 0.25);
    }

    .btn-primary:active {
        transform: translateY(1px);
    }

    /* TOAST NOTIFICATION */
    #toast {
        opacity: 0;
        max-height: 0;
        overflow: hidden;
        width: 100%;
        text-align: center;
        color: #fff;
        padding: 0 16px;
        margin-bottom: 0;
        border-radius: 60px;
        font-size: 14px;
        font-weight: 500;
        transition: all 0.3s ease;
        background: transparent;
    }

    #toast.show {
        opacity: 1;
        max-height: 60px;
        padding: 12px 16px;
        margin-bottom: 20px;
        border-radius: 60px;
    }

    #toast.success {
        background: #2b9348;
    }

    #toast.warning {
        background: #e9c46a;
        color: #2d3e2b;
    }

    #toast.error {
        background: #e63946;
    }

    #toast.exists {
        background: #ff9800;
    }

    /* Responsive tweaks */
    @media (max-width: 500px) {
        .auth-card {
            padding: 30px 22px 38px;
        }
        .logo-img {
            width: 130px;
        }
        .logo-text {
            font-size: 28px;
        }
        .tabs .tab {
            font-size: 0.85rem;
            padding: 10px 8px;
        }
        .btn-primary {
            padding: 12px;
        }
        h2 {
            font-size: 20px;
        }
    }