/* Espace Client Shared Styles */

.espace-client-header {
    padding: 40px 0 20px;
}
.espace-client-header h1 {
    font-weight: 700;
    color: #01274E;
    font-size: 2.5rem;
    margin-bottom: 10px;
}
.espace-client-header p {
    color: #717182;
    font-size: 1.1rem;
}

/* Tabs Component */
.client-nav-tabs {
    background: var(--bs-white);
    border-radius: 14px;
    padding: 10px;
    display: flex;
    gap: 10px;
    margin-bottom: 30px;
    border: none;
    box-shadow: 0px 1px 2px -1px #0000001A,0px 1px 3px 0px #0000001A;

}
.client-nav-link {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 14px 20px;
    border-radius: 14px;
    color: var(--bs-dark);
    font-weight: 400;
    text-decoration: none;
    transition: all 0.3s ease;
    border: none;
    background: transparent;
}
.client-nav-link i {
    font-size: 1.1rem;
}
.client-nav-link.active {
    background: linear-gradient(180deg, #34D7E6 0%, #00EBE1 100%);
    color: var(--bs-primary);
}
.client-nav-link:hover:not(.active) {
    background-color: #f8f9fa;
    color: #01274E;
}

/* Info Card */
.profile-card {
    background: #fff;
    border-radius: 24px;
    padding: 30px 30px;
    border: 1.6px solid #0000001A;
    box-shadow: 0px 4px 6px -4px #0000001A,0px 10px 15px -3px #0000001A;

}
.profile-card-title {
    font-weight: 400;
    color: #01274E;
    margin-bottom: 8px;
}
.profile-card-subtitle {
    color: #717182;
    margin-bottom: 30px;
}

/* Avatar Section */
.avatar-upload-wrapper {
    display: flex;
    align-items: center;
    gap: 25px;
    margin-bottom: 30px;
}
.avatar-wrapper {
    position: relative;
    width: 110px;
    height: 110px;
}
.avatar-circle {
    width: 100%;
    height: 100%;
    background-color: #34D7E6;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(52, 215, 230, 0.2);
}
.avatar-circle span {
    color: #01274E;
    font-size: 2.2rem;
    font-weight: 700;
}
.camera-btn {
    position: absolute;
    bottom: 2px;
    right: 2px;
    background: #01274E;
    color: #fff;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    box-shadow: 0 2px 10px rgba(0,0,0,0.15);
    z-index: 2;
}
.avatar-info h5 {
    font-weight: 700;
    color: #01274E;
    margin-bottom: 5px;
}
.avatar-info p {
    color: #717182;
    font-size: 0.9rem;
    margin-bottom: 12px;
}
.btn-upload {
    border: 1.5px solid #34D7E6;
    color: #34D7E6;
    background: transparent;
    border-radius: 10px;
    padding: 8px 10px;
    font-weight: 500;
    transition: all 0.3s ease;
}
.btn-upload:hover {
    background: rgba(52, 215, 230, 0.05);
}

/* Form Fields */
.form-label-custom {
    font-weight: 400;
    color: var(--bs-dark);
    margin-bottom: 5px;
    font-size: 0.875rem;
}
.input-group-custom {
    background: #F3F3F5;
    border: 1px solid transparent;
    border-radius: 12px;
    padding: 5px 15px;
    display: flex;
    align-items: center;
    gap: 12px;
    transition: all 0.3s ease;
}
.input-group-custom:focus-within {
    background-color: #fff;
    border-color: #34D7E6;
    box-shadow: 0 0 0 4px rgba(52, 215, 230, 0.1);
}
.input-group-custom i {
    color: #99A1AF;
    font-size: 1.1rem;
}
.input-group-custom input,.input-group-custom textarea {
    background: transparent;
    border: none;
    flex: 1;
    padding: 6px 0;
    color: var(--bs-dark);
    font-weight: 500;
    font-size: 0.875rem;
}

.input-group-custom input::placeholder , .input-group-custom textarea::placeholder {
    color: #827171;
    font-size: 0.875rem;
    font-weight: 400;
}
.input-group-custom input:focus, .input-group-custom textarea:focus {
    outline: none;
}
.input-group-custom textarea {
    min-height: 120px;
}
.select-group-custom {
    background-color: #F3F3F5;
    border: 1px solid transparent;
    border-radius: 12px;
    padding: 4px 15px;
    display: flex;
    align-items: center;
    gap: 12px;
    transition: all 0.3s ease;
    position: relative;
}
.select-group-custom:focus-within {
    background-color: #fff;
    border-color: #34D7E6;
    box-shadow: 0 0 0 4px rgba(52, 215, 230, 0.1);
}
.select-group-custom select {
    background: transparent;
    border: none;
    flex: 1;
    padding: 8px 0;
    color: var(--bs-dark);
    font-weight: 500;
    appearance: none;
    cursor: pointer;
    width: 100%;
}
.select-group-custom select:focus {
    outline: none;
}
/* Custom arrow for select */
.select-group-custom::after {
    content: '\f078';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    right: 20px;
    color: #abb3c4;
    pointer-events: none;
    font-size: 0.8rem;
}

/* Buttons */
.btn-espace-client {
    padding: 8px 20px;
    border-radius: 12px;
    font-weight: 600;
    transition: all 0.3s ease;
}
.btn-cancel {
    background: transparent;
    color: #717182;
    border: 1.5px solid #e0e0e0;
}
.btn-cancel:hover {
    background: #f8f9fa;
}
.btn-save {
    background-color: #34D7E6;
    color: #fff;
    border: none;
}
.btn-save:hover {
    background-color: #2bc5d4;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(52, 215, 230, 0.3);
}

/* Custom CSS Toggle Switch */
.switch-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    background: #F9FAFB;

    border: none;
    border-radius: 10px;
    margin-bottom: 12px;
    transition: all 0.3s ease;
}
.switch-wrapper.outline{
    border: 1.6px solid #0000001A;
    background-color: transparent;
}
.switch-wrapper:hover {
    background: #F1F5F9;
}
.switch-text h6 {
    color: #01274E;
    font-weight: 400;
    margin-bottom: 4px;
    font-size: 1rem;
}
.switch-text p {
    color: var(--paragraphColor);
    font-size: 0.85rem;
    margin-bottom: 0;
}
.switch-control {
    position: relative;
    display: inline-block;
    width: 32px;
    height: 18.5px;
}
.switch-control input {
    opacity: 0;
    width: 0;
    height: 0;
}
.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #E2E8F0;
    transition: .4s;
    border-radius: 20px;
}
.slider:before {
    position: absolute;
    content: "";
    height: 16.5px;
    width: 16.5px;
    left: 1px;
    bottom: 1px;
    background-color: white;
    transition: .4s;
    border-radius: 50%;
}
input:checked + .slider {
    background-color: #030213;
}
input:checked + .slider:before {
    transform: translateX(14px);
}
.section-divider-title {
    font-weight: 700;
    color: #01274E;
    margin: 20px 0 20px;
    padding-bottom: 0;
    border-bottom: none;
}

/* Data Management Section */
.data-management-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-top: 20px;
}
.data-box {
    background: #fff;
    border: 2px solid #0000001A;
    border-radius: 8px;
    padding: 20px 20px;
    transition: all 0.3s ease;
    cursor: pointer;
    text-decoration: none !important;
    display: block;
}
.data-box:hover {
    background: #F8FAFC;
    border-color: #CBD5E1;
}
.data-box-delete {
    border: 2px solid #FFC9C9
}
.data-box-delete:hover {
    border-color: #EF4444;
    background: #FEF2F2;
}
.data-box h6 {
    font-weight: 700;
    color: #01274E;
    margin-bottom: 8px;
    font-size: 1rem;
}
.data-box-delete h6 {
    color: var(--bs-danger);
}
.data-box p {
    color: #64748B;
    font-size: 0.875rem;
    margin-bottom: 0;
}

@media (max-width: 768px) {
    .data-management-container {
        grid-template-columns: 1fr;
    }
}
.hr-custom{
    border: 1.6px solid #00000026;
}
.btn-espace-client.btn-cancel{
    color: var(--bs-dark);
    font-weight: 400;
}
