/* =========================================================
   LHEXA LOGIN
   MASTER DESIGN BASED ON add_money.php / add_money.css
========================================================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;

    font-family:
        'Poppins',
        Arial,
        Helvetica,
        sans-serif;
}

html,
body {
    width: 100%;
    min-height: 100%;
}

body {
    min-height: 100vh;

    background: #07131D;

    color: #fff;
}


/* =========================================================
   PAGE
========================================================= */

.login-page {
    width: 100%;
    min-height: 100vh;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 25px 15px;
}


/* =========================================================
   LOGIN CONTAINER
========================================================= */

.login-container {
    position: relative;
    overflow: hidden;

    width: 100%;
    max-width: 430px;

    padding: 28px 20px;

    background: #122434;

    border: 1px solid #203B4B;

    border-radius: 20px;

    box-shadow:
        0 15px 35px
        rgba(0, 201, 167, .16);
}

.login-container::before {
    content: "";

    position: absolute;

    width: 240px;
    height: 240px;

    top: -130px;
    right: -90px;

    border-radius: 50%;

    background: rgba(0, 201, 167, .07);

    pointer-events: none;
}

.login-container::after {
    content: "";

    position: absolute;

    width: 190px;
    height: 190px;

    bottom: -120px;
    left: -90px;

    border-radius: 50%;

    background: rgba(0, 201, 167, .04);

    pointer-events: none;
}


/* =========================================================
   LOGO
========================================================= */

.logo {
    position: relative;
    z-index: 2;

    text-align: center;

    margin-bottom: 18px;
}

.logo img {
    display: block;

    width: 76px;
    height: 76px;

    object-fit: contain;

    margin: 0 auto 7px;
}

.logo h1 {
    color: #00C9A7;

    font-size: 34px;
    line-height: 1;

    font-weight: 700;
}

.fullname {
    margin-top: 7px;

    color: #B7C6CE;

    font-size: 11px;
}

.tagline {
    margin-top: 7px;

    color: #00C9A7;

    font-size: 11px;
    font-weight: 600;
}


/* =========================================================
   WELCOME
========================================================= */

.welcome {
    position: relative;
    z-index: 2;

    text-align: center;

    margin: 23px 0 18px;
}

.welcome h2 {
    margin-bottom: 5px;

    font-size: 23px;

    font-weight: 700;
}

.welcome p {
    color: #8FA3B4;

    font-size: 12px;
}


/* =========================================================
   MOBILE BOX
========================================================= */

.mobile-box {
    position: relative;
    z-index: 2;

    width: 100%;
    height: 50px;

    display: flex;
    align-items: center;

    background: #0B1924;

    border: 1px solid #203B4B;

    border-radius: 13px;

    overflow: hidden;

    transition:
        border-color .2s ease,
        box-shadow .2s ease;
}

.mobile-box:focus-within {
    border-color: #00C9A7;

    box-shadow:
        0 0 0 3px
        rgba(0, 201, 167, .08);
}

.country {
    width: 78px;
    height: 100%;

    flex-shrink: 0;

    display: flex;
    align-items: center;
    justify-content: center;

    border-right: 1px solid #203B4B;

    color: #D8E5EA;

    font-size: 13px;
    font-weight: 600;
}

.mobile-box input {
    width: 100%;
    height: 100%;

    min-width: 0;

    padding: 0 13px;

    border: none;
    outline: none;

    background: transparent;

    color: #fff;

    font-size: 14px;
}

.mobile-box input::placeholder {
    color: #667D8E;
}


/* =========================================================
   CONTINUE BUTTON
========================================================= */

.continue-btn {
    position: relative;
    z-index: 2;

    width: 100%;
    height: 52px;

    margin-top: 14px;

    border: none;
    border-radius: 13px;

    background: #00C9A7;

    color: #07131D;

    cursor: pointer;

    display: flex;
    align-items: center;
    justify-content: center;

    gap: 9px;

    font-size: 14px;
    font-weight: 700;

    transition:
        transform .15s ease,
        box-shadow .2s ease,
        opacity .2s ease;
}

.continue-btn:hover:not(:disabled) {
    transform: translateY(-1px);

    box-shadow:
        0 10px 25px
        rgba(0, 201, 167, .28);
}

.continue-btn:disabled {
    opacity: .55;
    cursor: not-allowed;
}


/* =========================================================
   DIVIDER
========================================================= */

.divider {
    position: relative;
    z-index: 2;

    display: flex;
    align-items: center;
    gap: 12px;

    margin: 20px 0;

    color: #667D8E;

    font-size: 10px;
    font-weight: 600;
}

.divider::before,
.divider::after {
    content: "";

    height: 1px;

    flex: 1;

    background: #203B4B;
}

.divider span {
    flex-shrink: 0;
}


/* =========================================================
   CREATE USER BUTTON
========================================================= */

.create-user-btn {
    position: relative;
    z-index: 2;

    width: 100%;
    height: 50px;

    border-radius: 13px;

    background: #0B1924;

    border: 1px solid #203B4B;

    color: #fff;

    text-decoration: none;

    display: flex;
    align-items: center;
    justify-content: center;

    gap: 8px;

    font-size: 13px;
    font-weight: 600;

    transition:
        border-color .2s ease,
        background .2s ease,
        transform .15s ease;
}

.create-user-btn i {
    color: #00C9A7;
}

.create-user-btn:hover {
    border-color: #00C9A7;
    background: #102A39;

    transform: translateY(-1px);
}


/* =========================================================
   FEATURES
========================================================= */

.features {
    position: relative;
    z-index: 2;

    display: grid;
    grid-template-columns: repeat(4, 1fr);

    gap: 7px;

    margin-top: 22px;
}

.feature {
    min-width: 0;

    text-align: center;
}

.feature-icon {
    width: 34px;
    height: 34px;

    margin: 0 auto 5px;

    border-radius: 10px;

    background: #198754;

    color: #fff;

    display: flex;
    align-items: center;
    justify-content: center;

    font-size: 13px;
}

.feature p {
    color: #8FA3B4;

    font-size: 8px;
    line-height: 1.25;
}


/* =========================================================
   TERMS
========================================================= */

.bottom {
    position: relative;
    z-index: 2;

    margin-top: 20px;

    text-align: center;

    color: #667D8E;

    font-size: 9px;
    line-height: 1.6;
}

.bottom a {
    color: #00C9A7;

    text-decoration: none;

    font-weight: 600;
}

.bottom a:hover {
    color: #00E0BD;
}


/* =========================================================
   ERROR
========================================================= */

.error {
    margin-top: 15px;

    text-align: center;

    color: #FF7979;

    font-size: 12px;
    font-weight: 600;
}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 430px) {

    .login-page {
        min-height: 100vh;

        align-items: flex-start;

        padding:
            18px
            15px
            25px;
    }

    .login-container {
        margin-top: 5px;

        padding:
            25px
            17px;

        border-radius: 18px;
    }

    .logo {
        margin-bottom: 15px;
    }

    .logo img {
        width: 68px;
        height: 68px;
    }

    .logo h1 {
        font-size: 31px;
    }

    .welcome {
        margin-top: 20px;
    }

    .welcome h2 {
        font-size: 21px;
    }

}


/* =========================================================
   VERY SMALL MOBILE
========================================================= */

@media (max-width: 340px) {

    .login-page {
        padding-left: 10px;
        padding-right: 10px;
    }

    .login-container {
        padding:
            22px
            14px;
    }

    .country {
        width: 72px;

        font-size: 12px;
    }

    .mobile-box input {
        font-size: 13px;
    }

    .features {
        gap: 3px;
    }

    .feature-icon {
        width: 31px;
        height: 31px;
    }

    .feature p {
        font-size: 7px;
    }

}
/* Back button — same style as add_money.php */
/* =========================================================
   EDIT PROFILE HEADER
   Back button + logo in same row
   Logo remains exactly centered
========================================================= */

.edit-top-header{
    position:relative;

    width:100%;
    height:64px;

    display:flex;
    align-items:center;
    justify-content:center;

    margin-bottom:10px;
}


/* Back button */

.edit-back-btn{
    position:absolute;
    left:0;

    width:42px;
    height:42px;

    display:flex;
    align-items:center;
    justify-content:center;

    background:#122434;
    color:#fff;

    border:1px solid #203B4B;
    border-radius:12px;

    text-decoration:none;

    font-size:18px;

    transition:.2s ease;
}

.edit-back-btn:hover{
    background:#173044;
    border-color:#00C9A7;
    color:#00C9A7;
}

.edit-back-btn:active{
    transform:scale(.96);
}


/* Home / Dashboard button */
.edit-home-btn{
    position:absolute;
    right:0;

    width:44px;
    height:44px;

    display:flex;
    align-items:center;
    justify-content:center;

    background:#122434;
    color:#006400;

    border:1px solid #203B4B;
    border-radius:12px;

    text-decoration:none;
    font-size:20px;

    transition:.2s ease;
}

.edit-home-btn:hover{
    background:#173044;
    border-color:#006400;
    color:#008000;
}

.edit-home-btn:active{
    transform:scale(.96);
}

/* Center logo */

.edit-center-logo{
    width:64px;
    height:64px;

    display:flex;
    align-items:center;
    justify-content:center;
}

.edit-center-logo img{
    width:64px;
    height:64px;

    object-fit:contain;

    display:block;
}
.edit-photo{text-align:center;margin-bottom:20px}
.photo-preview{width:95px;height:95px;border-radius:50%;object-fit:cover;border:2px solid #00D4A7;display:block;margin:0 auto 15px}
.readonly-mobile{opacity:.65;cursor:not-allowed!important}
.readonly-mobile input{cursor:not-allowed!important}
.edit-select{width:100%;height:50px;padding:0 13px;margin-top:18px;color:#fff;background:#0B1924;border:1px solid #203B4B;border-radius:13px;outline:none;font-size:14px}
.edit-select:focus{border-color:#00D4A7}
.edit-select:disabled{opacity:.55}
.edit-select option{background:#0B1924;color:#fff}
.message{margin-top:14px;text-align:center;color:#ff8585;font-size:14px}


/* =========================================================
   SERVICE MANAGEMENT / DELIVERY LOCATION
========================================================= */
.service-section{margin-top:22px;padding-top:18px;border-top:1px solid #203B4B}.service-heading{display:flex;align-items:center;gap:10px;margin-bottom:12px}.service-heading>i{width:36px;height:36px;border-radius:10px;background:#0B1924;color:#00C9A7;display:flex;align-items:center;justify-content:center}.service-heading h3{margin:0;font-size:16px}.service-heading p{margin:3px 0 0;color:#718894;font-size:10px}.service-card{margin-top:10px;padding:13px;border:1px solid #203B4B;background:#0B1924;border-radius:14px}.service-main{display:flex;align-items:center;gap:10px}.service-icon{width:38px;height:38px;flex:0 0 38px;border-radius:11px;background:#122434;color:#00C9A7;display:flex;align-items:center;justify-content:center}.service-info{min-width:0}.service-info strong{display:block;font-size:13px}.service-info span{display:block;margin-top:3px;color:#8EA5B0;font-size:10px}.service-info small{display:inline-block;margin-top:5px;font-size:9px}.dp-approval.approved{color:#00C9A7}.dp-approval.pending{color:#FFCA67}.dp-approval.rejected{color:#FF7979}.availability-row{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-top:12px;padding-top:11px;border-top:1px solid #203B4B}.availability-row b{display:block;font-size:11px}.availability-row small{display:block;color:#718894;font-size:9px;margin-top:3px}.service-switch{position:relative;width:48px;height:27px;display:block;flex:0 0 48px}.service-switch input{display:none}.service-switch span{position:absolute;inset:0;background:#334751;border-radius:30px;cursor:pointer}.service-switch span:before{content:"";position:absolute;width:19px;height:19px;left:4px;top:4px;background:#fff;border-radius:50%;transition:.2s}.service-switch input:checked+span{background:#00C9A7}.service-switch input:checked+span:before{transform:translateX(21px)}.service-dashboard-link,.service-action{display:block;margin-top:10px;color:#00C9A7;text-decoration:none;font-size:13px;font-weight:700}.service-pending{margin-top:10px;color:#FFCA67;font-size:10px}.mini-toggle{border:1px solid #334751;background:#233541;color:#AFC1CA;border-radius:9px;padding:6px 11px;font-size:9px;font-weight:700;cursor:pointer}.mini-toggle.on{background:#00C9A7;color:#07131D;border-color:#00C9A7}
