/* Shared reference styling for Portfolio / Videos / Certifications modals */
.profile-section-dialog.mud-dialog-width-full {
    border-radius: 16px;
    box-shadow: 0 12px 40px rgba(15, 23, 42, 0.12);
    overflow: hidden;
    animation: profile-dialog-enter 0.22s ease-out;
}

@keyframes profile-dialog-enter {
    from {
        opacity: 0;
        transform: translateY(8px) scale(0.98);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.profile-dialog-form {
    direction: rtl;
    text-align: right;
}

.profile-dialog-form .label-text {
    font-weight: 600;
    font-size: 14px;
    color: #1a202c;
    display: block;
    margin-bottom: 6px;
    text-align: right;
}

.profile-dialog-form .helper-text {
    color: #7f8fa4;
    font-size: 12px;
    display: block;
    margin-bottom: 8px;
    text-align: right;
    line-height: 1.4;
}

.profile-dialog-input-theme .mud-input-outlined .mud-input-outlined-border {
    border-color: #e5e7eb !important;
    border-radius: 12px !important;
}

.profile-dialog-input-theme .mud-input-outlined.mud-input-focused .mud-input-outlined-border {
    border-color: #3b82f6 !important;
    border-width: 2px !important;
}

.profile-dialog-form .btn-browse {
    border-color: #3b82f6 !important;
    color: #3b82f6 !important;
    border-radius: 8px !important;
    text-transform: none !important;
    font-weight: 600;
}

.profile-dialog-actions {
    gap: 8px;
    justify-content: flex-end !important;
    padding: 16px 24px 20px !important;
}

.profile-dialog-actions .mud-button-outlined {
    border-color: #e0e6ed !important;
    color: #4b5563 !important;
    border-radius: 8px !important;
    text-transform: none !important;
    min-width: 120px;
}

.profile-dialog-actions .mud-button-filled-primary {
    background-color: #3b82f6 !important;
    border-radius: 8px !important;
    text-transform: none !important;
    font-weight: 600;
    min-width: 120px;
}

.profile-dialog-title {
    font-weight: 700;
    font-size: 1.125rem;
    width: 100%;
    text-align: right;
    padding: 4px 0;
}

.profile-dialog-description-editor .ql-toolbar button:not(.ql-bold):not(.ql-italic):not(.ql-underline) {
    display: none !important;
}

.profile-dialog-description-editor .mud-exrichtextedit,
.profile-dialog-description-editor .ql-container {
    border-radius: 8px;
}

.profile-dialog-description-editor .ql-editor {
    direction: rtl;
    text-align: right;
}

/* Video playback dialog — dim/blur backdrop (reference: modal over profile) */
.profile-video-play-dialog.mud-dialog-container .mud-overlay,
.profile-video-play-dialog .mud-overlay {
    backdrop-filter: blur(6px);
}
