/* Form Global Defaults Override */
.customer_label {
    /* Base styles removed to avoid conflict */
}
.customer_input {
    margin: 0;
}
.customer_input input,
.customer_input select {
    /* Base borders removed */
}
.customer_submit input {
    /* Base styles removed */
}
.customer_input_flex{display:flex;}
.customer_extend{border-radius: 0 3px 3px 0;background: #E0B67A;width: 20%;align-items: center;justify-content: center;display: flex;transition: all .3s;}
.customer_extend:hover{background: #002D71}
.customer_extend a{color: #002D71;transition: all .3s;}
.customer_extend a:hover{color: white;}

/* Forget Password Get Code Button Styling */
#forget_password_form .customer_input_flex {
    display: block;
}
#forget_password_form .customer_extend {
    position: absolute;
    right: 0;
    bottom: 10px;
    width: auto;
    background: transparent;
    padding: 0 10px;
}
#forget_password_form .customer_extend:hover {
    background: transparent;
}
#forget_password_form .customer_extend a {
    color: #EB5D2A;
    font-size: 14px;
    font-weight: 500;
}
#forget_password_form .customer_extend a:hover {
    color: #D64C1B;
}
#forget_password_form .customer_extend a.disabled {
    color: #999;
    cursor: not-allowed;
    pointer-events: none;
}
#forget_password_form .customer_input_flex input {
    padding-right: 80px; /* Make room for the Get Code button */
}

/* Login, Register & Forget Password Form Common Styles */
#login_form .customer_form_item,
#register_form .customer_form_item,
#forget_password_form .customer_form_item {
    width: 100%;
    margin-bottom: 20px;
}
#login_form .customer_label,
#register_form .customer_label,
#forget_password_form .customer_label {
    display: block;
    color: #000000;
    font-size: 16px;
    font-weight: 400;
    margin-bottom: 5px;
    font-family: 'Oswald', sans-serif;
    line-height: 24px;
}
#login_form .customer_label label,
#register_form .customer_label label,
#forget_password_form .customer_label label {
    color: #000000 !important;
}
#login_form .customer_input,
#register_form .customer_input,
#forget_password_form .customer_input {
    margin: 0;
    position: relative;
}
#login_form .customer_input input,
#login_form .customer_input select,
#register_form .customer_input input,
#register_form .customer_input select,
#forget_password_form .customer_input input {
    border-top: none;
    border-left: none;
    border-right: none;
    border-bottom: 1px solid #e0e0e0;
    border-radius: 0;
    padding: 10px 0;
    width: 100%;
    background-color: transparent;
    box-shadow: none;
    color: #555;
    font-size: 14px;
    font-family: 'Oswald', sans-serif;
}
#register_form .customer_input select {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="12" height="12" viewBox="0 0 24 24" fill="none" stroke="%23333" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><polyline points="6 9 12 15 18 9"></polyline></svg>');
    background-repeat: no-repeat;
    background-position: right 0px center;
    background-size: 12px;
    padding-right: 20px;
}
#login_form .customer_input input:focus,
#login_form .customer_input select:focus,
#register_form .customer_input input:focus,
#register_form .customer_input select:focus,
#forget_password_form .customer_input input:focus {
    border-bottom-color: #E26839;
    outline: none;
}
#login_form .customer_input input::-webkit-input-placeholder,
#register_form .customer_input input::-webkit-input-placeholder,
#forget_password_form .customer_input input::-webkit-input-placeholder {
    color: #b0b0b0;
    font-size: 13px;
    font-family: 'Oswald', sans-serif;
}
#login_form .customer_submit,
#register_form .customer_submit,
#forget_password_form .customer_submit {
    margin-top: 35px;
}
#login_form .customer_submit input,
#register_form .customer_submit input,
#forget_password_form .customer_submit input {
    display: block;
    background-color: #EB5D2A;
    color: #FFFFFF;
    width: 100%;
    border: none;
    padding: 16px;
    font-size: 16px;
    font-weight: 500;
    font-family: 'Oswald', sans-serif;
    text-transform: capitalize;
    cursor: pointer;
    transition: background-color 0.3s;
}
#login_form .customer_submit input:hover,
#register_form .customer_submit input:hover,
#forget_password_form .customer_submit input:hover {
    background-color: #D64C1B;
}

.customer-show{
    display: flex;
    align-items: center;
    gap:10px;
    color:#FFFFFF;
    height: 35px;
}

.customer-show:hover{
    color: #ED6C2F;
}

.customer-show svg{
    height:22px;
}

/* Customer Info Box */
.customer-info-box {
    display: flex;
    align-items: center;
    border: 1px solid #e0e0e0;
    padding: 30px 40px;
    background: #fff;
    font-family: 'Oswald', sans-serif;
}

.customer-avatar {
    width: 120px;
    height: 120px;
    margin-right: 40px;
    flex-shrink: 0;
    position: relative;
    cursor: pointer;
    overflow: hidden;
}

.customer-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.avatar-hover-mask {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s;
}

.avatar-hover-mask svg {
    width: 36px;
    height: 36px;
    fill: #fff;
}

.customer-avatar:hover .avatar-hover-mask {
    opacity: 1;
}

.customer-details {
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-width: 150px;
}

.customer-name-wrap {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 8px;
}

.customer-name {
    font-size: 32px;
    font-weight: 700;
    color: #333;
    line-height: 1.2;
}

.customer-level {
    font-size: 16px;
    color: #E26839;
    margin-bottom: 0;
    font-weight: 500;
}

.customer-logout-btn {
    background-color: #3572b0;
    border: 1px solid #3572b0;
    color: #fff;
    padding: 6px 16px;
    font-size: 13px;
    cursor: pointer;
    transition: all 0.3s;
    font-family: 'Oswald', sans-serif;
}

.customer-logout-btn:hover {
    background-color: #285a8f;
    border-color: #285a8f;
}

.customer-stats {
    display: flex;
    align-items: center;
    margin-left: auto;
}

.stat-item {
    text-align: center;
    padding: 0 50px;
}

.stat-label {
    font-size: 16px;
    color: #888;
    margin-bottom: 12px;
    font-weight: 400;
}

.stat-value {
    font-size: 36px;
    font-weight: 700;
    color: #333;
    line-height: 1;
}

.stat-divider {
    width: 1px;
    height: 60px;
    background-color: #e0e0e0;
}

@media (max-width: 768px) {
    .customer-info-box {
        flex-wrap: wrap;
        padding: 30px 20px;
        justify-content: center;
    }
    .customer-avatar {
        width: 80px;
        height: 80px;
        margin-right: 0;
        margin-bottom: 15px;
    }
    .customer-details {
        align-items: flex-start;
        margin-bottom: 0;
        min-width: 0;
        flex: 1;
    }
    .customer-name-wrap {
        margin-bottom: 5px;
    }
    .customer-name {
        font-size: 26px;
    }
    .customer-level {
        font-size: 16px;
    }
    .customer-logout-btn {
        margin-top: 0;
    }
    .customer-stats {
        margin-left: 0;
        margin-top: 30px;
        width: 100%;
        justify-content: center;
        border-top: 1px solid #e0e0e0;
        padding-top: 30px;
    }
    .stat-item {
        padding: 0 30px;
    }
    .stat-divider {
        height: 50px;
    }
}

/* Update Profile Form */
.update-profile-container {
    width: 100%;
    font-family: 'Oswald', sans-serif;
    background: #fff;
    padding: 20px 0;
}

.update-profile-title {
    font-size: 24px;
    font-weight: 700;
    color: #333;
    margin-bottom: 30px;
    text-transform: capitalize;
}

.profile-form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px 30px;
}

.profile-form-group {
    position: relative;
    padding-bottom: 10px;
    transition: border-color 0.3s;
}

.profile-form-group label {
    display: block;
    font-size: 16px;
    font-weight: 400;
    color: #000;
    line-height: 24px;
}

.profile-form-group input {
    width: 100%;
    border-width: 0 0 1px 0 !important;
    border-style: solid !important;
    border-color: #dbdbdbc9 !important;
    padding: 8px !important;
    font-size: 15px;
    font-family: 'Oswald', sans-serif;
    color: #333;
    background: transparent;
}

.profile-form-group input:disabled {
    color: #999;
    cursor: not-allowed;
}

.profile-form-group input:focus {
    /* outline: none; */
}

.profile-form-group:focus-within {
    border-bottom-color: #E26839;
}

.profile-form-submit {
    margin-top: 30px;
}

.profile-save-btn {
    width: 100%;
    max-width: 400px;
    background-color: #E26839 !important;
    color: #fff;
    border: 0 !important;
    padding: 15px 0;
    font-size: 16px;
    font-family: 'Oswald', sans-serif;
    font-weight: 400;
    cursor: pointer;
    transition: background-color 0.3s;
}

.profile-save-btn:hover {
    background-color: #F38B59;
}

@media (max-width: 768px) {
    .profile-form-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .profile-save-btn {
        max-width: 100%;
    }
}
