*,
*:before,
*:after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    background-color: #FDFDFD;
}

ul,
p,
h1,
h2,
h3,
h4,
h5,
h6 {
    margin: 0;
    padding: 0;
}

ul {
    list-style: none;
}

a {
    text-decoration: none;
}

.x-hidden-checkbox {
    display: none;
}

.x-navbar-left {
    box-shadow: -4px 4px 14px 0px rgba(0, 0, 0, 0.08);
    background-color: #FDFDFD;
    flex-direction: column;
}

.x-profile-image {
    width: 120px;
    height: 120px;
    padding: 7px;
    box-shadow: -4px 4px 14px 0px rgba(0, 0, 0, 0.08);
}

.x-profile-name-title {
    font-size: 18px;
    color: rgba(20, 20, 20, 1);
    font-weight: 500;
}

.x-profile-email-title {
    font-size: 14px;
    color: rgba(20, 20, 20, 0.6);
    font-weight: 400;
}

.x-profile-info ul li {
    width: 100%;
    padding: 20px;
    cursor: pointer;
}

.x-profile-info ul li a {
    width: 100%;
    height: 100%;
    font-size: 16px;
    color: rgba(20, 20, 20, 0.6);
    font-weight: 500;
}

.x-profile-info ul li:hover {
    background-color: rgba(20, 20, 20, 0.08);
    border-left: 4px solid rgba(20, 20, 20, 1)
}

.x-profile-info ul li:hover a {
    color: rgba(20, 20, 20, 1);
}

.x-data-header-title {
    font-weight: 600;
    font-size: 26px;
    line-height: 40px;
    letter-spacing: 0%;
    text-transform: uppercase;
}

.x-content-data {
    width: 100%;
    box-shadow: -4px 4px 14px 0px rgba(0, 0, 0, 0.08);
    border-radius: 4px;
    height: 100%;
}

.x-content-wrapper {
    max-width: 900px;
}

.x-profile-pic-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.x-camera-icon {
    font-size: 18px;
    color: rgba(109, 109, 109, 1);
    bottom: -10px;
    right: -15px;
    background: rgba(255, 255, 255, 1);
    border-radius: 50%;
    width: 34px;
    height: 34px;
    justify-content: center;
    display: flex;
    align-items: center;
    box-shadow: -4px 4px 14px 0px rgba(0, 0, 0, 0.08);
    cursor: pointer;
}

/* OTP Validation Styles */
.v-otp-box.is-valid {
    border-color: #28a745 !important;
    box-shadow: 0 0 0 0.2rem rgba(40, 167, 69, 0.25) !important;
}

.v-otp-box.is-invalid {
    border-color: #dc3545 !important;
    box-shadow: 0 0 0 0.2rem rgba(220, 53, 69, 0.25) !important;
}

#mobile.is-invalid {
    border-color: #dc3545 !important;
    box-shadow: 0 0 0 0.2rem rgba(220, 53, 69, 0.25) !important;
}

#mobile.is-valid {
    border-color: #28a745 !important;
    box-shadow: 0 0 0 0.2rem rgba(40, 167, 69, 0.25) !important;
}

#otpError {
    font-size: 14px;
    font-weight: 500;
    margin-top: 8px;
    padding: 8px 12px;
    border-radius: 4px;
    display: none;
}

#otpError.text-success {
    background-color: rgba(40, 167, 69, 0.1);
    border: 1px solid rgba(40, 167, 69, 0.3);
}

#otpError.text-danger {
    background-color: rgba(220, 53, 69, 0.1);
    border: 1px solid rgba(220, 53, 69, 0.3);
}

/* OTP Input Focus Styles */
.v-otp-box:focus {
    border-color: #007bff !important;
    box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25) !important;
    outline: none;
}

/* Loading state for delete button */
#deleteAccountBtn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.x-update-btn {
    background-color: #000 !important;
    color: white !important;
    width: 350px;
    height: 44px;
}

.x-update-btn:hover {
    background-color: rgb(41, 39, 39);
    color: white;
}

.x-form-input {
    height: 45px;
    background-color: rgba(20, 20, 20, 0.06);
}

.form-check-input:checked {
    background-color: #000;
    border-color: #000;
}

.x-gap {
    --bs-gutter-y: 35px;
}

.x-font-18 {
    font-size: 18px;
}

.x-celender-icon {
    color: rgba(20, 20, 20, 0.438);
    background: rgba(20, 20, 20, 0.06);
}

.x-font-14 {
    font-size: 14px;
}

.x-close-btn {
    position: absolute;
    top: 15px;
    right: 15px;
    font-size: 24px;
    color: #333;
    cursor: pointer;
    z-index: 1060;
    display: none;
    background: none;
    border: none;
    padding: 0;
    line-height: 1;
}


@media (min-width: 1200px) {
    .x-navbar-left {
        display: flex;
        position: static;
        width: 25%;
        max-width: 300px;
        box-shadow: -4px 4px 14px 0px rgba(0, 0, 0, 0.08);
    }

    .x-menu-btn {
        display: none !important;
    }

    .x-close-btn {
        display: none !important;
    }
}

@media (max-width: 1199px) {
    .x-saveCard-main {
        flex-direction: column;
        gap: 20px;
    }

    .x-navbar-left {
        position: fixed;
        top: 0;
        left: -280px;
        width: 280px;
        height: 100%;
        background-color: #FDFDFD;
        z-index: 1050;
        transition: left 0.3s ease-in-out;
        box-shadow: 4px 0 14px rgba(0, 0, 0, 0.1);
        padding: 0;
        overflow-y: auto;
        display: flex;
    }

    .x-navbar-left .x-profile-nav {
        display: block;
        gap: 20px;
        box-shadow: none;
        margin-bottom: 30px;
        border-bottom: 1px solid rgba(0, 0, 0, 0.08);
        padding-top: 15px !important;
        padding-bottom: 15px !important;
        padding-left: 1rem;
        padding-right: 1rem;
        position: relative;
    }

    .x-menu-btn {
        display: block;
        padding: 8px 15px;
        font-size: 1rem;
        cursor: pointer;
    }

    .x-close-btn {
        display: block;
    }

    #menu-toggle:checked+.x-navbar-left {
        left: 0;
    }

    #menu-toggle:checked~.x-content-wrapper::before {
        content: '';
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(0, 0, 0, 0.5);
        z-index: 1040;
    }

    .x-content-wrapper {
        position: relative;
        z-index: 1;
    }
}


@media (max-width: 991px) {

    .x-navbar-left .x-profile-nav {
        flex-direction: column;
        text-align: center;
        gap: 10px;
        display: flex;
        align-items: center;
    }

    .x-content-data {
        padding: 20px !important;
    }

    .x-gap {
        --bs-gutter-y: 25px;
    }

    .x-profile-pic-wrapper {
        width: 110px;
    }

    .x-profile-image {
        width: 110px;
        height: 110px;
    }

    .x-camera-icon {
        width: 32px;
        height: 32px;
        font-size: 16px;
    }
}

@media (max-width: 767px) {

    .x-profile-info ul li a {
        font-size: 14px;
    }

    .x-data-header-title {
        font-size: 22px;
        line-height: 32px;
    }

    .x-update-btn {
        width: 100% !important;
        max-width: 350px;
    }

    .x-form-input {
        height: 40px;
    }

    .x-profile-pic-wrapper {
        width: 100px;
    }

    .x-profile-image {
        width: 100px;
        height: 100px;
    }

    .x-camera-icon {
        right: -27%;
        bottom: -8px;
        width: 30px;
        height: 30px;
    }
}

@media (max-width: 575px) {

    .x-saveCard-main {
        padding: 15px !important;
    }

    .x-profile-info ul li {
        padding: 12px 15px;
    }

    .x-content-data {
        padding: 15px !important;
    }

    .row.x-gap>div {
        padding-left: 10px !important;
        padding-right: 10px !important;
    }

    .x-data-header-title {
        font-size: 20px;
    }

    .x-font-18 {
        font-size: 16px;
    }

    .x-profile-pic-wrapper {
        width: 90px;
    }

    .x-profile-image {
        width: 90px;
        height: 90px;
        padding: 5px;
    }

    .x-camera-icon {
        right: -40%;
        bottom: -5px;
        width: 28px;
        height: 28px;
        font-size: 15px;
    }
}
