.craft-login-overlay { position: fixed; inset: 0; width: 100%; height: 100%; background: rgba(20, 12, 8, 0.55); display: flex; align-items: center;
    justify-content: center; padding: 20px; z-index: 99999; box-sizing: border-box; }
.craft-login-box { width: 900px; max-width: 100%; height: 540px; max-height: calc(100vh - 40px); display: flex; flex-direction: row;
    align-items: stretch; position: relative; overflow: hidden; padding: 0; margin: 0; background: #F2E8D5; border-radius: 16px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25); box-sizing: border-box;}
.craft-login-promo { width: 50%; height: 100%; flex: 0 0 50%; position: relative; overflow: hidden;
    background: radial-gradient( circle at 80% 20%, rgba(242,232,213,0.08), transparent 30%),
     linear-gradient( 145deg, #3E1F14 0%, #502723 55%, #62473B 100% );
    color: #F2E8D5; box-sizing: border-box; }
.craft-login-promo::before { content: ""; position: absolute; width: 350px; height: 350px; border-radius: 50%;
    border: 1px solid rgba(242,232,213,0.10); right: -140px; top: -80px; }
.craft-login-promo::after { content: ""; position: absolute; width: 280px; height: 280px; border-radius: 50%;
    border: 1px solid rgba(242,232,213,0.08); left: -150px; bottom: -120px; }
.craft-promo-inner { width: 100%; height: 100%; padding: 28px 38px; display: flex; flex-direction: column; position: relative;
    z-index: 2; box-sizing: border-box;}
.craft-promo-brand { display: flex; align-items: center; gap: 9px; color: #F2E8D5; font-size: 15px; font-weight: 700; }
.craft-promo-logo { width: 34px; height: 34px; border-radius: 50%; background: #F2E8D5; color: #3E1F14; display: flex;
    align-items: center; justify-content: center; font-size: 14px;}
.craft-promo-heading { text-align: center; margin-top: 30px;}
.craft-promo-heading h3 { margin: 0 0 10px; color: #F2E8D5; font-size: 27px; line-height: 1.25; font-weight: 700;}
.craft-promo-heading p { max-width: 360px; margin: 0 auto; color: rgba(242,232,213,0.78); font-size: 12px; line-height: 1.55;}
.craft-promo-visual { height: 250px; position: relative; margin-top: 8px; display: flex; align-items: center; justify-content: center;}
.craft-phone { width: 142px; height: 230px; padding: 8px; position: relative; z-index: 3; background: #F2E8D5; border-radius: 24px;
    box-sizing: border-box; transform: rotate(-3deg); box-shadow: 0 15px 35px rgba(0,0,0,0.25);}
.craft-phone-speaker { position: absolute; top: 13px; left: 50%; width: 45px; height: 5px; border-radius: 10px; background: #3E1F14;
    transform: translateX(-50%); z-index: 5;}
.craft-phone-screen { width: 100%; height: 100%; padding: 13px 10px 10px; border-radius: 18px; background: #EEE2D5; box-sizing: border-box;
    overflow: hidden; }
.craft-phone-header { display: flex; align-items: center; justify-content: space-between; margin-top: 7px; color: #3E1F14; font-size: 8px;
    font-weight: 700;}
.craft-phone-header i { font-size: 9px;}
.craft-phone-food { height: 78px; margin-top: 10px; border-radius: 9px; background: #E1CDB8; display: flex; align-items: center;
    justify-content: center; color: #3E1F14; font-size: 25px;}
.craft-phone-lines { display: flex; flex-direction: column; gap: 5px; margin-top: 9px;}
.craft-phone-lines span { height: 5px; background: #BBAB9A; border-radius: 10px;}
.craft-phone-lines span:nth-child(1) { width: 90%;}
.craft-phone-lines span:nth-child(2) { width: 68%;}
.craft-phone-lines span:nth-child(3) {
    width: 45%;
}


/* Buttons */

.craft-phone-buttons {

    display: flex;

    gap: 5px;

    margin-top: 10px;
}


.craft-phone-buttons span {

    padding: 4px 8px;

    border-radius: 10px;

    background: #3E1F14;

    color: #F2E8D5;

    font-size: 6px;
}


/* Home button */

.craft-phone-home {

    position: absolute;

    bottom: 7px;

    left: 50%;

    width: 36px;
    height: 4px;

    border-radius: 10px;

    background: #3E1F14;

    transform: translateX(-50%);
}


/* =========================================================
   FLOATING CARDS
========================================================= */

.craft-floating-card {

    position: absolute;

    display: flex;

    align-items: center;

    gap: 8px;

    padding: 10px 13px;

    border-radius: 11px;

    background: #F2E8D5;

    color: #3E1F14;

    font-size: 10px;

    font-weight: 700;

    box-shadow:
        0 8px 20px rgba(0,0,0,0.18);

    z-index: 5;

    white-space: nowrap;
}


.craft-floating-card i {

    font-size: 12px;
}


/* Food */

.craft-food-card {

    left: 0;

    top: 80px;

    transform: rotate(-5deg);
}


/* Voucher */

.craft-voucher-card {

    right: 0;

    top: 105px;

    transform: rotate(4deg);
}


/* Rewards */

.craft-reward-card {

    left: 10px;

    bottom: 10px;

    transform: rotate(3deg);
}


/* =========================================================
   PROMO FOOTER
========================================================= */

.craft-promo-footer {

    margin-top: auto;

    text-align: center;
}


.craft-promo-footer h4 {

    margin: 0 0 5px;

    color: #F2E8D5;

    font-size: 14px;

    font-weight: 700;
}


.craft-promo-footer p {

    margin: 0;

    color: rgba(242,232,213,0.70);

    font-size: 10px;
}


/* =========================================================
   RIGHT LOGIN SIDE
========================================================= */

.craft-login-form {

    width: 50%;

    height: 100%;

    flex: 0 0 50%;

    position: relative;

    display: flex;

    align-items: center;

    justify-content: center;

    padding: 40px 55px;

    background: #F2E8D5;

    box-sizing: border-box;
}


/* =========================================================
   CLOSE
========================================================= */

.craft-login-close {

    position: absolute;

    top: 18px;
    right: 20px;

    width: 32px;
    height: 32px;

    padding: 0;

    border: none;

    background: transparent;

    color: #502723;

    border-radius: 50%;

    display: flex;

    align-items: center;
    justify-content: center;

    cursor: pointer;

    z-index: 10;
}


.craft-login-close:hover {

    background: rgba(62,31,20,0.08);

    color: #3E1F14;
}


.craft-login-close i {

    font-size: 17px;
}


/* =========================================================
   FORM INNER
========================================================= */

.craft-login-form-inner {

    width: 100%;

    max-width: 340px;

    text-align: center;
}


/* =========================================================
   TITLE
========================================================= */

.craft-login-form-inner h2 {

    margin: 0 0 10px;

    color: #3E1F14;

    font-size: 22px;

    line-height: 1.35;

    font-weight: 700;
}


/* =========================================================
   DESCRIPTION
========================================================= */

.craft-login-description {

    margin: 0 0 25px;

    color: #502723 !important;

    font-size: 13px !important;

    line-height: 1.5;

    text-align: center;
}


/* =========================================================
   PHONE INPUT
========================================================= */

.craft-phone-input {

    width: 100%;

    height: 48px;

    display: flex;

    align-items: center;

    gap: 8px;

    padding: 0 12px;

    position: relative;

    background: #EADBC6;

    border: 1px solid rgba(62,31,20,0.18);

    border-radius: 8px;

    box-sizing: border-box;

    cursor: pointer;
}


.craft-phone-input img {

    width: 20px;
    height: 14px;

    object-fit: cover;

    flex-shrink: 0;
}


.craft-phone-input > span {

    color: #3E1F14;

    font-size: 13px;

    font-weight: 600;

    white-space: nowrap;
}


.craft-phone-arrow {

    color: #6B554B;

    font-size: 9px;

    margin-right: 2px;

    flex-shrink: 0;
}


.craft-mobile-number {

    width: 100%;

    min-width: 0;

    height: 30px;

    padding: 0 !important;

    border: none !important;

    outline: none !important;

    box-shadow: none !important;

    background: transparent !important;

    color: #3E1F14 !important;

    font-family: 'Quicksand', sans-serif;

    font-size: 13px !important;

    font-weight: 500;
}


.craft-mobile-number::placeholder {

    color: rgba(62,31,20,0.42) !important;

    opacity: 1;
}


/* =========================================================
   COUNTRY DROPDOWN
========================================================= */

.craft-country-dropdown {

    width: 100%;

    position: absolute;

    top: 190px;

    left: 0;

    display: none;

    overflow: hidden;

    background: #E1CDB8;

    border: 1px solid rgba(62,31,20,0.15);

    border-radius: 10px;

    box-shadow:
        0 10px 25px rgba(62,31,20,0.18);

    z-index: 100;
}


/* Search */

.craft-country-search {

    padding: 10px;

    background: #F2E8D5;
}


.craft-country-search input {

    width: 100%;

    height: 38px;

    padding: 8px 10px;

    border: 1px solid rgba(62,31,20,0.15);

    border-radius: 7px;

    outline: none;

    background: #EADBC6;

    color: #3E1F14;

    font-family: 'Quicksand', sans-serif;

    box-sizing: border-box;
}


.craft-country-search input:focus {

    border-color: #3E1F14;
}


/* List */

.craft-country-list {

    max-height: 210px;

    overflow-y: auto;
}


/* Letter */

.craft-country-title {

    padding: 7px 13px;

    color: #776B64;

    font-size: 11px;

    font-weight: 700;
}


/* Country */

.craft-country-item {

    padding: 10px 13px;

    display: flex;

    align-items: center;

    justify-content: space-between;

    cursor: pointer;

    color: #3E1F14;

    font-size: 12px;
}


.craft-country-item > div {

    display: flex;

    align-items: center;

    gap: 10px;
}


.craft-country-item img {

    width: 21px;

    height: 14px;

    object-fit: cover;
}


.craft-country-item > span {

    font-size: 12px;

    font-weight: 600;
}


.craft-country-item:hover {

    background: rgba(62,31,20,0.08);
}


/* =========================================================
   CONTINUE BUTTON
========================================================= */

.craft-login-button {

    width: 100%;

    height: 48px;

    margin: 0;

    padding: 0;

    border: none;

    border-radius: 8px;

    background: #3E1F14;

    color: #F2E8D5;

    font-family: 'Quicksand', sans-serif;

    font-size: 14px;

    font-weight: 700;

    cursor: pointer;

    transition: all 0.25s ease;
}


.craft-login-button:hover {

    background: #502723;

    transform: translateY(-1px);

    box-shadow:
        0 6px 15px rgba(62,31,20,0.18);
}


/* =========================================================
   NOTE
========================================================= */

.craft-login-note {

    margin: 13px 0 0;

    color: #8B817B !important;

    font-size: 11px !important;

    line-height: 1.5;

    text-align: center;
}


/* =========================================================
   DESKTOP FIX
========================================================= */

@media (min-width: 769px) {

    .craft-login-box {

        flex-direction: row;

        align-items: stretch;

    }

    .craft-login-promo,
    .craft-login-form {

        height: 100%;
    }

}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 900px) and (min-width: 769px) {

    .craft-login-box {

        width: 800px;

        height: 500px;
    }


    .craft-promo-inner {

        padding: 25px 25px;
    }


    .craft-promo-heading h3 {

        font-size: 24px;
    }


    .craft-login-form {

        padding: 35px;
    }


    .craft-floating-card {

        padding: 8px 10px;

        font-size: 9px;
    }

}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 768px) {

    .craft-login-overlay {

        padding: 15px;

        align-items: center;
    }


    .craft-login-box {

        width: 100%;

        max-width: 420px;

        height: auto;

        max-height: calc(100vh - 30px);

        min-height: 0;

        display: block;

        overflow-y: auto;

        border-radius: 14px;
    }


    /* Hide promotional side */

    .craft-login-promo {

        display: none;
    }


    /* Full width login */

    .craft-login-form {

        width: 100%;

        height: auto;

        min-height: 430px;

        padding: 55px 25px 30px;

        display: flex;

        align-items: center;

        justify-content: center;
    }


    .craft-login-form-inner {

        width: 100%;

        max-width: 350px;
    }


    .craft-login-form-inner h2 {

        font-size: 20px;

        line-height: 1.4;
    }


    .craft-login-description {

        font-size: 13px !important;

        margin-bottom: 24px;
    }


    .craft-login-close {

        top: 15px;

        right: 15px;
    }


    .craft-phone-input {

        height: 48px;
    }


    .craft-login-button {

        height: 48px;

        font-size: 14px;
    }


    .craft-login-note {

        font-size: 11px !important;
    }


    .craft-country-dropdown {

        top: 180px;
    }

}


/* =========================================================
   SMALL MOBILE
========================================================= */

@media (max-width: 400px) {

    .craft-login-overlay {

        padding: 10px;
    }


    .craft-login-box {

        max-width: 100%;

        border-radius: 12px;
    }


    .craft-login-form {

        padding: 50px 20px 25px;

        min-height: 400px;
    }


    .craft-login-form-inner h2 {

        font-size: 19px;
    }


    .craft-login-description {

        font-size: 12px !important;
    }


    .craft-phone-input {

        height: 46px;

        padding: 0 10px;
    }


    .craft-login-button {

        height: 46px;
    }

}
.phone-input span {
    color: #3f1f15;
    font-size: 14px;
}
.phone-input .dropdown-search input{font-size: 14px;}
.phone-input .phone-num{font-size: 14px;}
* {
    scrollbar-width: thin;
    scrollbar-color: #3E1F14 #eadbc6;
}