/* =========================================
   RESET
========================================= */

*,
*::before,
*::after {
    box-sizing: border-box;
}


html,
body {
    width: 100%;
    min-height: 100%;
    margin: 0;
}


body {
    font-family:
        'Playfair Display',
        serif;
}



/* =========================================
   PAGE
========================================= */

.register-page {
    min-height: 100vh;

    background:
        linear-gradient(
            135deg,
            #24211e,
            #12100e
        );

    color: #eee4d9;

    overflow-x: hidden;
}



/* =========================================
   SHELL
========================================= */

.register-shell {
    width: 100%;

    min-height: 100vh;

    display: grid;

    grid-template-columns:
        minmax(0, 1.05fr)
        minmax(470px, 0.95fr);
}



/* =========================================
   LEFT VISUAL
========================================= */

.register-visual {
    --mouse-x: 50%;
    --mouse-y: 50%;

    position: relative;

    min-height: 100vh;

    display: flex;

    align-items: center;

    padding:
        75px
        clamp(45px, 6vw, 100px);

    isolation: isolate;

    overflow: hidden;
}



.register-bg {
    position: absolute;

    inset: 0;

    z-index: -4;

    background:
        url("foto/xeni.jpg")
        center 25% / cover
        no-repeat;

    transform: scale(1.03);

    transition:
        transform 1.2s
        cubic-bezier(.16,1,.3,1);
}



.register-visual:hover
.register-bg {
    transform: scale(1.055);
}



.register-overlay {
    position: absolute;

    inset: 0;

    z-index: -3;

    background:
        radial-gradient(
            circle at
            var(--mouse-x)
            var(--mouse-y),
            rgba(193,154,107,0.22),
            transparent 27%
        ),

        linear-gradient(
            90deg,
            rgba(8,7,6,0.44) 0%,
            rgba(8,7,6,0.35) 48%,
            rgba(8,7,6,0.90) 100%
        ),

        linear-gradient(
            180deg,
            rgba(0,0,0,0.12),
            rgba(0,0,0,0.34)
        );
}



/* =========================================
   LEFT CONTENT
========================================= */

.register-brand {
    position: relative;

    width: 100%;

    max-width: 650px;

    z-index: 2;
}



.register-kicker {
    display: flex;

    align-items: center;

    gap: 16px;

    margin-bottom: 27px;

    color: #c19a6b;

    font-size: 0.72rem;

    font-weight: 600;

    letter-spacing: 5px;

    text-transform: uppercase;
}



.register-kicker span {
    width: 46px;

    height: 1px;

    background:
        linear-gradient(
            90deg,
            transparent,
            #c19a6b
        );
}



.register-kicker span:last-child {
    background:
        linear-gradient(
            90deg,
            #c19a6b,
            transparent
        );
}



.register-brand h1 {
    max-width: 620px;

    margin:
        0
        0
        25px;

    color: #f4eee7;

    font-size:
        clamp(
            3rem,
            5vw,
            5.2rem
        );

    line-height: 0.99;

    font-weight: 500;

    letter-spacing: -2.3px;

    text-shadow:
        0 15px 45px
        rgba(0,0,0,0.55);
}



.register-brand > p {
    max-width: 540px;

    margin: 0;

    color:
        rgba(244,238,231,0.70);

    font-size: 1rem;

    line-height: 1.8;
}



/* =========================================
   BENEFITS
========================================= */

.register-benefits {
    display: flex;

    flex-direction: column;

    gap: 15px;

    margin-top: 34px;

    padding-top: 26px;

    border-top:
        1px solid
        rgba(193,154,107,0.24);
}



.register-benefits span {
    display: flex;

    align-items: center;

    gap: 12px;

    color:
        rgba(244,238,231,0.72);

    font-size: 0.82rem;

    letter-spacing: 0.4px;
}



.register-benefits i {
    width: 18px;

    color: #c19a6b;

    text-align: center;
}



/* =========================================
   HOME LEFT
========================================= */

.register-home-link {
    position: absolute;

    left:
        clamp(
            45px,
            6vw,
            100px
        );

    bottom: 34px;

    display: inline-flex;

    align-items: center;

    gap: 10px;

    color:
        rgba(244,238,231,0.60);

    font-size: 0.72rem;

    letter-spacing: 1px;

    text-transform: uppercase;

    text-decoration: none;

    transition:
        gap 0.3s ease,
        color 0.3s ease;
}



.register-home-link:hover {
    gap: 14px;

    color: #c19a6b;
}



/* =========================================
   RIGHT PANEL
========================================= */

.register-panel {
    position: relative;

    min-height: 100vh;

    display: flex;

    align-items: center;

    justify-content: center;

    padding:
        45px
        clamp(30px, 4vw, 70px);

    background:
        radial-gradient(
            circle at 100% 0%,
            rgba(193,154,107,0.09),
            transparent 34%
        ),
        linear-gradient(
            145deg,
            #181512,
            #0f0d0b
        );
}



.register-panel::before {
    content: "";

    position: absolute;

    left: 0;

    top: 8%;

    width: 1px;

    height: 84%;

    background:
        linear-gradient(
            transparent,
            rgba(193,154,107,0.42),
            transparent
        );
}



/* =========================================
   CARD
========================================= */

.register-card {
    width: 100%;

    max-width: 485px;
}



/* =========================================
   MOBILE BRAND
========================================= */

.register-mobile-brand {
    display: none;
}



/* =========================================
   HEADER
========================================= */

.register-heading {
    margin-bottom: 27px;
}



.register-small-title {
    display: block;

    margin-bottom: 13px;

    color: #c19a6b;

    font-size: 0.64rem;

    font-weight: 600;

    letter-spacing: 4px;

    text-transform: uppercase;
}



.register-heading h2,
.register-success-view h2 {
    margin:
        0
        0
        10px;

    color: #f2e9df;

    font-size:
        clamp(
            2.2rem,
            3vw,
            3rem
        );

    line-height: 1;

    font-weight: 500;

    letter-spacing: -1px;
}



.register-heading > p,
.register-success-view > p {
    margin: 0;

    color:
        rgba(238,228,217,0.47);

    font-size: 0.84rem;

    line-height: 1.7;
}



/* =========================================
   ERROR
========================================= */

.register-alert {
    display: flex;

    align-items: flex-start;

    gap: 11px;

    margin-bottom: 22px;

    padding:
        12px
        14px;

    font-size: 0.76rem;

    line-height: 1.55;
}



.register-alert-error {
    border:
        1px solid
        rgba(210,93,93,0.27);

    background:
        rgba(110,32,32,0.20);

    color: #e7b4b4;
}



.register-alert i {
    margin-top: 3px;

    flex-shrink: 0;
}



/* =========================================
   FORM
========================================= */

.register-form {
    display: flex;

    flex-direction: column;

    gap: 17px;
}



.register-field label {
    display: block;

    margin-bottom: 8px;

    color:
        rgba(238,228,217,0.72);

    font-size: 0.72rem;

    font-weight: 500;

    letter-spacing: 0.7px;
}



/* =========================================
   INPUT WRAPPER
========================================= */

.register-input {
    position: relative;
}



.register-input >
i:first-child {
    position: absolute;

    left: 16px;

    top: 50%;

    transform:
        translateY(-50%);

    color:
        rgba(193,154,107,0.59);

    font-size: 0.87rem;

    pointer-events: none;

    transition:
        color 0.25s ease;
}



.register-input input {
    width: 100%;

    height: 50px;

    padding:
        0
        48px;

    border:
        1px solid
        rgba(193,154,107,0.16);

    border-radius: 2px;

    outline: none;

    background:
        rgba(255,255,255,0.024);

    color: #eee4d9;

    font: inherit;

    font-size: 0.83rem;

    transition:
        border-color 0.3s ease,
        background 0.3s ease,
        box-shadow 0.3s ease;
}



.register-input input::placeholder {
    color:
        rgba(238,228,217,0.24);
}



.register-input input:focus {
    border-color:
        rgba(193,154,107,0.65);

    background:
        rgba(193,154,107,0.035);

    box-shadow:
        0 0 0 3px
        rgba(193,154,107,0.055);
}



.register-input:focus-within >
i:first-child {
    color: #c19a6b;
}



/* =========================================
   INPUT VALIDATION
========================================= */

.register-input input.input-error {
    border-color:
        rgba(205,77,77,0.76);

    box-shadow:
        0 0 0 3px
        rgba(205,77,77,0.07);
}



.register-input input.input-success {
    border-color:
        rgba(76,170,111,0.65);

    box-shadow:
        0 0 0 3px
        rgba(76,170,111,0.06);
}



/* =========================================
   HINT
========================================= */

.register-field-hint {
    display: block;

    margin-top: 7px;

    color:
        rgba(238,228,217,0.27);

    font-size: 0.62rem;

    letter-spacing: 0.2px;
}



/* =========================================
   PASSWORD EYE
========================================= */

.register-password-toggle {
    position: absolute;

    right: 7px;

    top: 50%;

    transform:
        translateY(-50%);

    width: 38px;

    height: 38px;

    display: flex;

    align-items: center;

    justify-content: center;

    padding: 0;

    border: 0;

    background: transparent;

    color:
        rgba(238,228,217,0.36);

    cursor: pointer;

    transition:
        color 0.25s ease;
}



.register-password-toggle:hover {
    color: #c19a6b;
}



/* =========================================
   PASSWORD STATUS
========================================= */

.register-password-status {
    min-height: 14px;

    margin:
        -7px
        0
        0;

    font-size: 0.64rem;
}



.register-password-status.is-error {
    color: #d78383;
}



.register-password-status.is-success {
    color: #79b88d;
}



/* =========================================
   SUBMIT
========================================= */

.register-submit,
.register-primary-link {
    position: relative;

    width: 100%;

    height: 53px;

    display: flex;

    align-items: center;

    justify-content: center;

    gap: 14px;

    margin-top: 2px;

    padding:
        0
        20px;

    border:
        1px solid
        #c19a6b;

    border-radius: 2px;

    background:
        linear-gradient(
            135deg,
            #c19a6b,
            #d7b688
        );

    color: #17130f;

    font: inherit;

    font-size: 0.79rem;

    font-weight: 700;

    letter-spacing: 1.4px;

    text-transform: uppercase;

    text-decoration: none;

    cursor: pointer;

    overflow: hidden;

    box-shadow:
        0 14px 35px
        rgba(0,0,0,0.24);

    transition:
        transform 0.35s
        cubic-bezier(.16,1,.3,1),
        box-shadow 0.35s ease;
}



.register-submit::before,
.register-primary-link::before {
    content: "";

    position: absolute;

    top: -60%;

    left: -55%;

    width: 28%;

    height: 220%;

    background:
        linear-gradient(
            90deg,
            transparent,
            rgba(255,255,255,0.55),
            transparent
        );

    transform:
        rotate(20deg);

    transition:
        left 0.7s
        cubic-bezier(.16,1,.3,1);
}



.register-submit:hover::before,
.register-primary-link:hover::before {
    left: 130%;
}



.register-submit:hover,
.register-primary-link:hover {
    transform:
        translateY(-3px);

    box-shadow:
        0 20px 42px
        rgba(0,0,0,0.32),
        0 0 28px
        rgba(193,154,107,0.14);
}



/* =========================================
   DIVIDER
========================================= */

.register-divider {
    display: flex;

    align-items: center;

    gap: 13px;

    margin:
        27px
        0
        20px;
}



.register-divider span {
    flex: 1;

    height: 1px;

    background:
        linear-gradient(
            90deg,
            transparent,
            rgba(193,154,107,0.20)
        );
}



.register-divider span:last-child {
    background:
        linear-gradient(
            90deg,
            rgba(193,154,107,0.20),
            transparent
        );
}



.register-divider small {
    color:
        rgba(238,228,217,0.27);

    font-size: 0.56rem;

    letter-spacing: 2px;

    white-space: nowrap;
}



/* =========================================
   LOGIN LINK
========================================= */

.register-login {
    text-align: center;
}



.register-login p {
    margin:
        0
        0
        9px;

    color:
        rgba(238,228,217,0.43);

    font-size: 0.77rem;
}



.register-login a {
    display: inline-flex;

    align-items: center;

    gap: 9px;

    color: #c19a6b;

    font-size: 0.76rem;

    font-weight: 600;

    letter-spacing: 0.7px;

    text-decoration: none;

    transition:
        gap 0.3s ease,
        color 0.3s ease;
}



.register-login a:hover {
    gap: 13px;

    color: #dfbd90;
}



/* =========================================
   SUCCESS
========================================= */

.register-success-view {
    text-align: center;
}



.register-success-icon {
    width: 78px;

    height: 78px;

    margin:
        0
        auto
        28px;

    display: flex;

    align-items: center;

    justify-content: center;

    border:
        1px solid
        rgba(193,154,107,0.50);

    border-radius: 50%;

    background:
        radial-gradient(
            circle,
            rgba(193,154,107,0.17),
            transparent 70%
        );

    color: #c19a6b;

    font-size: 1.5rem;

    box-shadow:
        0 0 35px
        rgba(193,154,107,0.10);
}



.register-success-view >
p {
    max-width: 390px;

    margin:
        0
        auto
        31px;
}



.register-success-view
.register-primary-link {
    margin-top: 0;
}



/* =========================================
   MOBILE HOME
========================================= */

.register-mobile-home {
    display: none;
}



/* =========================================
   TABLET
========================================= */

@media (max-width: 1000px) {

    .register-shell {
        grid-template-columns:
            minmax(0, 0.85fr)
            minmax(450px, 1.15fr);
    }


    .register-visual {
        padding:
            60px
            38px;
    }


    .register-brand h1 {
        font-size:
            clamp(
                2.7rem,
                5vw,
                4rem
            );
    }


    .register-home-link {
        left: 38px;
    }

}



/* =========================================
   MOBILE
========================================= */

@media (max-width: 780px) {

    .register-page {
        background:
            linear-gradient(
                rgba(10,9,8,0.80),
                rgba(10,9,8,0.93)
            ),
            url("foto/xeni.jpg")
            center / cover
            fixed;
    }


    .register-shell {
        display: block;

        min-height: 100svh;
    }


    .register-visual {
        display: none;
    }


    .register-panel {
        width: 100%;

        min-height: 100svh;

        padding:
            30px
            18px;

        background:
            linear-gradient(
                rgba(15,13,11,0.80),
                rgba(15,13,11,0.92)
            );

        backdrop-filter:
            blur(5px);
    }


    .register-panel::before {
        display: none;
    }


    .register-card {
        max-width: 470px;

        padding:
            31px
            25px;

        border:
            1px solid
            rgba(193,154,107,0.20);

        background:
            linear-gradient(
                145deg,
                rgba(29,25,21,0.92),
                rgba(13,11,9,0.95)
            );

        box-shadow:
            0 35px 80px
            rgba(0,0,0,0.40);
    }


    .register-mobile-brand {
        display: flex;

        align-items: center;

        justify-content: center;

        gap: 10px;

        margin-bottom: 26px;

        color: #c19a6b;

        font-size: 0.59rem;

        font-weight: 600;

        letter-spacing: 3px;
    }


    .register-mobile-brand span {
        width: 25px;

        height: 1px;

        background:
            linear-gradient(
                90deg,
                transparent,
                #c19a6b
            );
    }


    .register-mobile-brand
    span:last-child {
        background:
            linear-gradient(
                90deg,
                #c19a6b,
                transparent
            );
    }


    .register-heading {
        text-align: center;

        margin-bottom: 25px;
    }


    .register-heading h2 {
        font-size: 2.35rem;
    }


    .register-heading >
    p {
        max-width: 310px;

        margin:
            0
            auto;
    }


    .register-mobile-home {
        display: flex;

        align-items: center;

        justify-content: center;

        gap: 8px;

        margin-top: 26px;

        color:
            rgba(238,228,217,0.37);

        font-size: 0.67rem;

        text-decoration: none;

        transition:
            color 0.25s ease;
    }


    .register-mobile-home:hover {
        color: #c19a6b;
    }

}



/* =========================================
   SMALL MOBILE
========================================= */

@media (max-width: 420px) {

    .register-panel {
        padding:
            15px
            10px;
    }


    .register-card {
        padding:
            27px
            18px;
    }


    .register-input input {
        height: 49px;

        padding-left: 45px;
    }


    .register-submit,
    .register-primary-link {
        height: 51px;
    }

}


/* =========================================
   INTERNATIONAL PHONE
========================================= */

.register-phone-wrap {
    width: 100%;
}

.register-phone-wrap .iti {
    width: 100%;
}

.register-phone-wrap input#phone {
    width: 100%;
    height: 50px;

    padding-left: 105px;

    border:
        1px solid
        rgba(193,154,107,0.16);

    border-radius: 2px;

    outline: none;

    background:
        rgba(255,255,255,0.024);

    color: #eee4d9;

    font: inherit;
    font-size: 0.83rem;
}

.register-phone-wrap input#phone:focus {
    border-color:
        rgba(193,154,107,0.65);

    box-shadow:
        0 0 0 3px
        rgba(193,154,107,0.055);
}


/* COUNTRY BUTTON */

.register-phone-wrap
.iti__selected-country {
    background:
        rgba(193,154,107,0.05);
}

.register-phone-wrap
.iti__selected-country:hover {
    background:
        rgba(193,154,107,0.10);
}


/* DIAL CODE */

.register-phone-wrap
.iti__selected-dial-code {
    color: #c19a6b;
}


/* DROPDOWN */

.iti__country-container {
    color: #eee4d9;
}

.iti__dropdown-content {
    border:
        1px solid
        rgba(193,154,107,0.20);

    background: #181512;

    color: #eee4d9;

    box-shadow:
        0 20px 50px
        rgba(0,0,0,0.55);
}


/* SEARCH */

.iti__search-input {
    background: #211d19;

    color: #eee4d9;

    border:
        1px solid
        rgba(193,154,107,0.22);

    outline: none;
}

.iti__search-input:focus {
    border-color: #c19a6b;
}


/* COUNTRY HOVER */

.iti__country:hover,
.iti__country.iti__highlight {
    background:
        rgba(193,154,107,0.12);
}

/* =========================================
   INTL TEL INPUT - DARK DROPDOWN
========================================= */

.register-page {
    --iti-country-selector-bg: #181512;
    --iti-border-color: rgba(193,154,107,0.22);
    --iti-hover-color: rgba(193,154,107,0.12);
    --iti-icon-color: #c19a6b;
}


/* Dropdown kryesor */
.iti__country-selector {
    background: #181512 !important;
    color: #eee4d9 !important;
}


/* Lista e shteteve */
.iti__country-list {
    background: #181512 !important;
    color: #eee4d9 !important;

    border:
        1px solid
        rgba(193,154,107,0.22) !important;
}


/* Çdo shtet */
.iti__country {
    background: transparent !important;
    color: #eee4d9 !important;
}


/* Emri i shtetit */
.iti__country-name {
    color: #eee4d9 !important;
}


/* Kodi +383, +49, +41... */
.iti__dial-code {
    color:
        rgba(193,154,107,0.78) !important;
}


/* Hover */
.iti__country:hover,
.iti__country.iti__highlight {
    background:
        rgba(193,154,107,0.13) !important;
}


/* Search area */
.iti__search-input {
    background: #211d19 !important;

    color: #eee4d9 !important;

    border:
        1px solid
        rgba(193,154,107,0.25) !important;

    outline: none !important;
}


/* Placeholder i search */
.iti__search-input::placeholder {
    color:
        rgba(238,228,217,0.35) !important;
}


/* Search focus */
.iti__search-input:focus {
    border-color: #c19a6b !important;
}


/* Search container */
.iti__search-input-container {
    background: #181512 !important;
}


/* Scrollbar */
.iti__country-list::-webkit-scrollbar {
    width: 8px;
}

.iti__country-list::-webkit-scrollbar-track {
    background: #13110f;
}

.iti__country-list::-webkit-scrollbar-thumb {
    background:
        rgba(193,154,107,0.35);

    border-radius: 10px;
}

.iti__country-list::-webkit-scrollbar-thumb:hover {
    background:
        rgba(193,154,107,0.60);
}

.register-privacy {
    margin: 11px 0 0;

    color: rgba(238,228,217,0.28);

    font-size: 0.62rem;
    line-height: 1.6;

    text-align: center;
}

.register-resend-text {
    margin:
        18px
        0
        0;

    text-align: center;

    color:
        rgba(238, 228, 217, 0.42);

    font-size: 0.72rem;

    line-height: 1.6;
}

.register-resend-text a {
    margin-left: 4px;

    color: #c19a6b;

    text-decoration: none;

    font-weight: 600;

    transition:
        color 0.2s ease,
        opacity 0.2s ease;
}

.register-resend-text a:hover {
    color: #d7b688;
}