.profile-page {
    background: #f4f7fb;
    min-height: 100vh;
}

.profile-sidebar {
    position: sticky;
    top: 1.5rem;
}

.profile-sidebar-header {
    height: 100px;
    background: linear-gradient(135deg, #4f46e5, #06b6d4);
}

.profile-avatar-wrapper {
    position: relative;
    width: 148px;
    height: 148px;
    margin-top: -74px;
}

.profile-avatar {
    width: 148px;
    height: 148px;
    border-radius: 50%;
    object-fit: cover;
    border: 5px solid #fff;
    box-shadow: 0 10px 30px rgba(0, 0, 0, .12);
    cursor: pointer;
    background: #fff;
}

.avatar-edit-btn {
    position: absolute;
    bottom: 8px;
    right: 8px;
    width: 38px;
    height: 38px;
    border: none;
    border-radius: 50%;
    background: #111827;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 6px 18px rgba(0, 0, 0, .18);
    transition: .2s ease;
}

.avatar-edit-btn:hover {
    transform: scale(1.05);
    background: #1f2937;
}

.profile-user-meta h5 {
    font-weight: 700;
}

.section-block {
    background: #fff;
    border: 1px solid #edf1f7;
    border-radius: 1rem;
    padding: 1.25rem;
}

.section-title h6 {
    font-weight: 700;
    color: #111827;
    font-size: 0.95rem;
}

.signature-box {
    background: #fafcff;
    border-style: dashed !important;
    border-color: #cfd8e3 !important;
}

.signature-preview {
    min-height: 90px;
}

.image-signature,
.image-signature-new {
    max-width: 100%;
    max-height: 180px;
    object-fit: contain;
    border-radius: 12px;
    border: 1px solid #e5e7eb;
    background: #fff;
    padding: 10px;
}

.image-signature-new {
    border-color: #60a5fa;
    box-shadow: 0 0 0 4px rgba(96, 165, 250, 0.12);
}

.card.rounded-4,
.section-block,
.signature-box,
.alert.rounded-4 {
    border-radius: 1rem !important;
}

.profile-ltr input,
.profile-ltr textarea,
.profile-ltr select {
    direction: ltr;
}

.profile-rtl input,
.profile-rtl textarea,
.profile-rtl select {
    direction: rtl;
}

@media (max-width: 991.98px) {
    .profile-sidebar {
        position: static;
    }
}