
/* =========================================================
   STARLINK TRANSFERS LTD
   CUSTOMER REGISTRATION PAGE
   Theme: Midnight Navy + Champagne Gold
   File: assets/CSS/customer-register.css
========================================================= */

:root {
    --auth-navy: #10263f;
    --auth-dark: #091a2d;
    --auth-navy-light: #193b5c;

    --auth-gold: #d9a84e;
    --auth-gold-dark: #b28b42;
    --auth-gold-light: #f1d49b;

    --auth-white: #ffffff;
    --auth-bg: #f4f6f9;

    --auth-text: #263648;
    --auth-muted: #84919e;

    --auth-border: #e1e6ed;
    --auth-danger: #dc3545;

    --auth-radius: 14px;
    --auth-shadow: 0 12px 40px rgba(9, 26, 45, 0.10);
}

/* =========================================================
   GLOBAL
========================================================= */

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    background: var(--auth-bg);
    color: var(--auth-text);
    font-family: 'Inter', sans-serif;
}

/* =========================================================
   PAGE BACKGROUND
========================================================= */

.customer-auth-page {
    min-height: 100vh;
    width: 100%;
    padding: 45px 20px;

    display: flex;
    align-items: center;
    justify-content: center;

    background:
        radial-gradient(
            circle at top left,
            rgba(217, 168, 78, 0.10),
            transparent 35%
        ),
        var(--auth-bg);
}

/* =========================================================
   MAIN CONTAINER
========================================================= */

.customer-auth-container {
    width: 100%;
    max-width: 560px;
    margin: auto;
}

.customer-auth-card {
    width: 100%;
    padding: 42px 45px;

    background: var(--auth-white);
    border: 1px solid rgba(225, 230, 237, 0.8);
    border-radius: 18px;

    box-shadow: var(--auth-shadow);
}

/* =========================================================
   HEADING
========================================================= */

.customer-auth-heading {
    text-align: center;
    margin-bottom: 29px;
}

.customer-auth-icon {
    width: 65px;
    height: 65px;

    margin: 0 auto 19px;

    display: flex;
    align-items: center;
    justify-content: center;

    background: rgba(217, 168, 78, 0.15);
    border: 1px solid rgba(217, 168, 78, 0.35);
    border-radius: 16px;

    color: var(--auth-gold-dark);
    font-size: 25px;
}

.customer-auth-eyebrow {
    display: block;
    margin-bottom: 10px;

    color: var(--auth-gold-dark);

    font-size: 11px;
    font-weight: 800;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.customer-auth-heading h1 {
    margin: 0 0 10px;

    color: var(--auth-navy);

    font-size: 27px;
    font-weight: 800;
    line-height: 1.3;
}

.customer-auth-heading p {
    margin: 0;

    color: var(--auth-muted);

    font-size: 13px;
    line-height: 1.7;
}

/* =========================================================
   ALERT MESSAGES
========================================================= */

.customer-auth-alert {
    display: flex;
    align-items: flex-start;
    gap: 11px;

    padding: 13px 15px;
    margin-bottom: 21px;

    border-radius: 9px;

    font-size: 12px;
    line-height: 1.6;
}

.customer-auth-alert.error {
    color: #842029;
    background: #f8d7da;
    border: 1px solid #f5c2c7;
}

.customer-auth-alert i {
    margin-top: 3px;
    flex-shrink: 0;
}

.customer-auth-alert p {
    margin: 0 0 4px;
}

.customer-auth-alert p:last-child {
    margin-bottom: 0;
}

/* =========================================================
   FORM
========================================================= */

.customer-auth-form {
    width: 100%;
}

.customer-auth-form .auth-form-group {
    margin-bottom: 19px;
}

.customer-auth-form .auth-form-group label {
    display: block;
    margin-bottom: 8px;

    color: var(--auth-text);

    font-size: 13px;
    font-weight: 600;
}

/* =========================================================
   INPUT WRAPPER
========================================================= */

.customer-auth-form .auth-input-wrapper {
    position: relative;
    width: 100%;
}

.customer-auth-form .auth-input-wrapper > i {
    position: absolute;

    left: 15px;
    top: 50%;

    transform: translateY(-50%);

    color: var(--auth-muted);
    font-size: 14px;

    pointer-events: none;
}

.customer-auth-form .auth-input-wrapper input {
    width: 100%;
    height: 49px;

    padding: 0 15px 0 44px;

    border: 1px solid var(--auth-border);
    border-radius: 9px;

    outline: none;

    background: #ffffff;
    color: var(--auth-text);

    font-family: inherit;
    font-size: 13px;

    transition: all 0.25s ease;
}

.customer-auth-form .auth-input-wrapper input::placeholder {
    color: #a5afbb;
}

.customer-auth-form .auth-input-wrapper input:focus {
    border-color: var(--auth-gold);

    box-shadow:
        0 0 0 3px rgba(217, 168, 78, 0.13);
}

.customer-auth-form .auth-input-wrapper:focus-within > i {
    color: var(--auth-gold-dark);
}

/* =========================================================
   PASSWORD HINT
========================================================= */

.auth-field-hint {
    display: block;
    margin-top: 7px;

    color: var(--auth-muted);
    font-size: 11px;
    line-height: 1.5;
}

/* =========================================================
   REGISTER BUTTON
========================================================= */

.customer-auth-submit {
    width: 100%;
    min-height: 50px;

    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;

    margin-top: 5px;

    border: none;
    border-radius: 9px;

    background: var(--auth-navy);
    color: var(--auth-white);

    font-family: inherit;
    font-size: 14px;
    font-weight: 700;

    cursor: pointer;

    transition: all 0.25s ease;
}

.customer-auth-submit i {
    color: var(--auth-gold-light);
    transition: transform 0.25s ease;
}

.customer-auth-submit:hover {
    background: var(--auth-dark);
    color: var(--auth-white);

    transform: translateY(-2px);

    box-shadow: 0 7px 18px rgba(16, 38, 63, 0.20);
}

.customer-auth-submit:hover i {
    transform: translateX(5px);
}

.customer-auth-submit:active {
    transform: translateY(0);
}

/* =========================================================
   FOOTER LINKS
========================================================= */

.customer-auth-footer {
    margin-top: 25px;
    padding-top: 20px;

    border-top: 1px solid #edf0f4;

    text-align: center;
}

.customer-auth-footer p {
    margin: 0;

    color: var(--auth-muted);
    font-size: 13px;
}

.customer-auth-footer p a {
    color: var(--auth-navy);

    font-weight: 700;
    text-decoration: none;

    transition: color 0.25s ease;
}

.customer-auth-footer p a:hover {
    color: var(--auth-gold-dark);
}

.customer-auth-footer .back-home-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;

    margin-top: 17px;

    color: var(--auth-muted);

    font-size: 12px;
    font-weight: 500;

    text-decoration: none;

    transition: all 0.25s ease;
}

.customer-auth-footer .back-home-link:hover {
    color: var(--auth-gold-dark);
}

.customer-auth-footer .back-home-link i {
    transition: transform 0.25s ease;
}

.customer-auth-footer .back-home-link:hover i {
    transform: translateX(-4px);
}

/* =========================================================
   TABLET RESPONSIVE
========================================================= */

@media (max-width: 850px) {

    .customer-auth-page {
        padding: 40px 18px;
    }

    .customer-auth-card {
        padding: 38px 35px;
    }

}

/* =========================================================
   MOBILE RESPONSIVE
========================================================= */

@media (max-width: 550px) {

    .customer-auth-page {
        padding: 25px 13px;
    }

    .customer-auth-card {
        padding: 32px 22px;
        border-radius: 13px;
    }

    .customer-auth-heading h1 {
        font-size: 23px;
    }

    .customer-auth-icon {
        width: 57px;
        height: 57px;
        font-size: 22px;
    }

    .customer-auth-form .auth-input-wrapper input {
        height: 47px;
    }

    .customer-auth-submit {
        min-height: 48px;
    }

}

/* =========================================================
   SMALL MOBILE
========================================================= */

@media (max-width: 360px) {

    .customer-auth-card {
        padding: 28px 17px;
    }

    .customer-auth-heading h1 {
        font-size: 21px;
    }

}
