/* =========================================
   YLA CAFE & KEANNA TAPSIHAN
   CUSTOMER REGISTRATION
   ========================================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html,
body {
    min-height: 100%;
    font-family:
        Arial,
        Helvetica,
        sans-serif;
}


/* =========================================
   PAGE
   ========================================= */

.register-page {

    min-height: 100vh;

    width: 100%;

    position: relative;

    background-image:
        url("../images/Background.jpg");

    background-size: cover;

    background-position: center;

    background-repeat: no-repeat;

    padding: 50px 25px;

    display: flex;

    align-items: center;

    justify-content: center;

}


/* =========================================
   OVERLAY
   ========================================= */

.register-overlay {

    position: fixed;

    inset: 0;

    background:
        linear-gradient(
            135deg,
            rgba(0, 0, 0, 0.78),
            rgba(0, 0, 0, 0.42)
        );

}


/* =========================================
   CONTAINER
   ========================================= */

.register-container {

    width: 100%;

    max-width: 1200px;

    position: relative;

    z-index: 2;

    display: grid;

    grid-template-columns:
        minmax(300px, 1fr)
        minmax(500px, 650px);

    gap: 60px;

    align-items: center;

}


/* =========================================
   BRAND
   ========================================= */

.brand-section {

    color: white;

    text-align: center;

    padding: 30px;

    text-shadow:
        0 4px 15px rgba(0,0,0,0.8);

}


.brand-logo {

    width: 85px;

    height: 85px;

    margin:
        0 auto 20px;

    border-radius: 50%;

    display: flex;

    align-items: center;

    justify-content: center;

    background:
        linear-gradient(
            135deg,
            #e6b35b,
            #805126
        );

    border:
        3px solid
        rgba(255,255,255,0.85);

    font-size: 26px;

    font-weight: 900;

    letter-spacing: 2px;

}


.brand-section h1 {

    color: #ffe2a2;

    font-size: 62px;

    letter-spacing: 4px;

    line-height: 1;

}


.brand-and {

    margin:
        13px 0;

    font-size: 18px;

    letter-spacing: 8px;

    font-weight: bold;

}


.brand-section h2 {

    color: #ffdea0;

    font-size: 34px;

    letter-spacing: 3px;

}


.brand-section > p {

    margin-top: 20px;

    font-size: 16px;

    letter-spacing: 3px;

}


.brand-message {

    margin:
        35px auto 0;

    max-width: 350px;

    padding: 20px;

    border-radius: 18px;

    background:
        rgba(0,0,0,0.35);

    border:
        1px solid
        rgba(255,255,255,0.2);

    backdrop-filter:
        blur(5px);

}


.brand-message span {

    display: block;

    font-size: 38px;

    margin-bottom: 10px;

}


.brand-message strong {

    display: block;

    line-height: 1.5;

    color: #fff;

}


/* =========================================
   CARD
   ========================================= */

.register-card {

    background:
        rgba(255,255,255,0.97);

    border-radius: 25px;

    padding: 40px;

    box-shadow:
        0 25px 70px
        rgba(0,0,0,0.55);

}


.register-header {

    text-align: center;

    margin-bottom: 25px;

}


.register-header h2 {

    color: #3c2617;

    font-size: 30px;

    margin-bottom: 7px;

}


.register-header p {

    color: #777;

    font-size: 14px;

}


/* =========================================
   ALERT
   ========================================= */

.alert {

    padding: 14px 16px;

    border-radius: 10px;

    margin-bottom: 20px;

    font-size: 14px;

    line-height: 1.5;

}


.alert.error {

    color: #9d0000;

    background:
        #ffe5e5;

    border-left:
        5px solid #d63031;

}


.alert.success {

    color: #216b36;

    background:
        #e3f8e8;

    border-left:
        5px solid #2e9d52;

}


.alert.success a {

    color: #166b32;

    font-weight: bold;

}


/* =========================================
   FORM
   ========================================= */

.form-group {

    margin-bottom: 18px;

}


.form-group label {

    display: block;

    margin-bottom: 7px;

    color: #3d2818;

    font-size: 14px;

    font-weight: 700;

}


.form-group input,
.form-group textarea {

    width: 100%;

    border:
        1px solid #d8d0c7;

    border-radius: 11px;

    background: #fffdf9;

    padding:
        13px 14px;

    outline: none;

    font-size: 14px;

    font-family: inherit;

    transition: 0.25s;

}


.form-group input {

    height: 49px;

}


.form-group textarea {

    resize: vertical;

    min-height: 85px;

}


.form-group input:focus,
.form-group textarea:focus {

    border-color:
        #ae7133;

    box-shadow:
        0 0 0 4px
        rgba(174,113,51,0.12);

}


.form-group small {

    display: block;

    margin-top: 5px;

    color: #888;

    font-size: 11px;

}


/* =========================================
   TWO COLUMNS
   ========================================= */

.two-column {

    display: grid;

    grid-template-columns:
        1fr 1fr;

    gap: 15px;

}


/* =========================================
   PASSWORD
   ========================================= */

.password-box {

    position: relative;

}


.password-box input {

    padding-right: 65px;

}


.password-toggle {

    position: absolute;

    right: 10px;

    top: 50%;

    transform:
        translateY(-50%);

    border: none;

    background: transparent;

    color: #925c2c;

    font-weight: bold;

    cursor: pointer;

}


/* =========================================
   TERMS
   ========================================= */

.terms {

    margin:
        5px 0 22px;

}


.terms label {

    display: flex;

    align-items: flex-start;

    gap: 9px;

    color: #666;

    font-size: 12px;

    line-height: 1.5;

}


.terms input {

    margin-top: 3px;

}


.terms a {

    color: #8b572a;

    font-weight: 700;

    text-decoration: none;

}


.terms a:hover {

    text-decoration: underline;

}


/* =========================================
   BUTTON
   ========================================= */

.register-button {

    width: 100%;

    height: 54px;

    border: none;

    border-radius: 12px;

    background:
        linear-gradient(
            135deg,
            #825026,
            #c78a45
        );

    color: white;

    font-size: 14px;

    font-weight: 800;

    letter-spacing: 1.2px;

    cursor: pointer;

    box-shadow:
        0 10px 25px
        rgba(130,80,38,0.35);

    transition: 0.2s;

}


.register-button:hover {

    transform:
        translateY(-2px);

    box-shadow:
        0 14px 30px
        rgba(130,80,38,0.45);

}


/* =========================================
   LOGIN LINK
   ========================================= */

.login-link {

    text-align: center;

    margin-top: 22px;

    padding-top: 20px;

    border-top:
        1px solid #e6e0da;

    font-size: 14px;

    color: #777;

}


.login-link a {

    color: #8b572a;

    font-weight: bold;

    text-decoration: none;

    margin-left: 5px;

}


.login-link a:hover {

    text-decoration: underline;

}


/* =========================================
   RESPONSIVE
   ========================================= */

@media (max-width: 950px) {

    .register-container {

        grid-template-columns: 1fr;

        max-width: 650px;

        gap: 20px;

    }


    .brand-section {

        padding:
            10px 20px;

    }


    .brand-logo {

        width: 65px;

        height: 65px;

        font-size: 20px;

        margin-bottom: 10px;

    }


    .brand-section h1 {

        font-size: 45px;

    }


    .brand-section h2 {

        font-size: 25px;

    }


    .brand-message {

        display: none;

    }

}


@media (max-width: 600px) {

    .register-page {

        padding: 25px 12px;

    }


    .register-card {

        padding: 25px 20px;

        border-radius: 18px;

    }


    .register-header h2 {

        font-size: 25px;

    }


    .two-column {

        grid-template-columns: 1fr;

        gap: 0;

    }


    .brand-section h1 {

        font-size: 36px;

    }


    .brand-section h2 {

        font-size: 20px;

    }

}