.profile-header {
    border-radius: 12px;
}

:root {
    --color-primary: #f2af2f;
    --color-white: #fff;
    --color-black: #000;
    --color-dark: #272727;
    --color-gray: #495057;
    --color-gray-dark: #444444;

}

.btnSave {
    background-color: var(--color-primary);
    color: var(--color-white);
}

.btnSave:hover {
    border: 1px solid var(--color-primary);
    color: var(--color-primary);
}

/* التحقق */
.verified-badge {
    color: #ff6b00;
    font-size: 14px;
}

/* القائمة */
.profile-menu .menu-box {
    border: 1px solid #eee;
    border-radius: 12px;
    padding: 15px 10px;
    background: #fff;
    transition: 0.3s;
    cursor: pointer;
}

.profile-menu .menu-box:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

/* العنصر النشط */
.profile-menu .menu-box.active {
    border-color: var(--color-primary);
    background: #fff7f0;
}

/* الأيقونة */
.profile-menu .icon {
    font-size: 22px;
    margin-bottom: 5px;
}

/* العنوان */
.profile-menu .title {
    font-size: 14px;
    font-weight: 500;
}

.card .bg-head {
    background-color: var(--color-primary);
}

.card-header {
    font-size: 15px;
}

.card-header.bg-white {
    border-bottom: 1px solid #eee;
}

.btn-light {
    border: 1px solid #ddd;
}

.btn-light:hover {
    background-color: #f8f9fa;
}

.btnEdit-personality {
    border: 0;
    background-color: transparent
}

.drop_academic_toggle {
    border: 1px solid var(--color-white);
    color: var(--color-white);
}


/* =============== Reserchers Style ============= */
.researcher-card {
    display: block;
    transition: all .3s ease;
}

.researcher-card .card {
    border-radius: 18px;
    overflow: hidden;
    transition: all .3s ease;
}

.researcher-card:hover {
    transform: translateY(-8px);
}

.researcher-card:hover .card {
    box-shadow: 0 15px 35px rgba(0, 0, 0, .12) !important;
}

.researcher-avatar {
    width: 90px;
    height: 90px;
    margin: auto;
    border-radius: 50%;
    /* background: var(--color-primary); */
    color: var(--color-white);
    font-size: 32px;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
}

.researcher-name {
    color: var(--color-dark);
    font-weight: 700;
    margin-bottom: 8px;
}

.researcher-speciality {
    color: var(--color-gray);
    font-size: 14px;
    margin-bottom: 15px;
}

.researcher-info {
    color: var(--color-gray);
    font-size: 14px;
}

.researcher-info i {
    color: var(--color-primary);
    margin-left: 6px;
}

.btn-outline-primary {
    border-radius: 50px;
    padding: 6px 18px;
}

/* =============== Image Profile ============= */

.profile-image-wrapper {
    position: relative;
    width: 60px;
    height: 60px;
    margin: 0 auto 10px;
}

.profile-image-label {
    position: relative;
    display: block;
    width: 60px;
    height: 60px;
    cursor: pointer;
}

.profile-image-avatar {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
}

.profile-overlay {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background: rgba(0, 0, 0, .5);

    display: flex;
    align-items: center;
    justify-content: center;

    opacity: 0;
    transition: .3s;
}

.profile-overlay i {
    color: white;
    font-size: 14px;
}

.profile-image-label:hover .profile-overlay {
    opacity: 1;
}

/* =============== Researcher Profile ============= */

.container-researchers {
    padding: 30px 15px;
    min-height: 100vh;
    color: #fff;
}

.researcher-profile {
    max-width: 1400px;
    margin: auto;
}

.profile-header {
    display: flex;
    justify-content: flex-start;
}

.profile-info {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.profile-image img {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid rgba(255, 255, 255, .15);
}

.researcher-name {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 10px;
}

.researcher-meta {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    color: var(--color-dark);
}

.researcher-meta i {
    color: var(--color-primary);
}

.stat-card {
    height: 110px;
    border: 1px solid rgba(255, 255, 255, .12);
    border-radius: 14px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 10px;
    background: var(--color-gray-dark);
    transition: .3s;
    position: relative;
}

.stat-card-link {
    display: block;
    text-decoration: none;
    color: inherit;
}

.stat-card-link:hover .stat-card {
    transform: translateY(-4px);
    border-color: var(--color-primary);
}

.stat-card:hover {
    transform: translateY(-4px);
    border-color: var(--color-primary);
}

.stat-card i {
    font-size: 26px;
    color: var(--color-primary);
}

.researcher-section {
    scroll-margin-top: 100px;
    margin-bottom: 40px;
}

.researcher-section:last-child {
    margin-bottom: 0;
}

.section-content-card {
    background: var(--color-white);
    border: 1px solid rgba(0, 0, 0, .08);
    border-radius: 14px;
    padding: 20px 24px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, .06);
    margin-bottom: 14px;
    transition: .3s;
}

.section-content-card:last-child {
    margin-bottom: 0;
}

.section-content-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(0, 0, 0, .1);
}

.data-card-title {
    color: var(--color-dark);
    font-weight: 700;
    font-size: 17px;
    margin-bottom: 12px;
}

.data-meta-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px 20px;
}

.data-meta-item {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: var(--color-gray, #6c757d);
    font-size: 14px;
    white-space: nowrap;
}

.data-meta-item i {
    color: var(--color-primary);
    font-size: 13px;
    flex-shrink: 0;
}

.data-link {
    color: var(--color-primary);
    text-decoration: underline;
}

.bio-text {
    color: var(--color-dark);
    font-size: 15px;
    line-height: 1.9;
    white-space: pre-line;
}

.section-empty {
    color: var(--color-dark);
    opacity: .7;
    text-align: center;
    padding: 20px 0;
}

.contact-section {
    border-top: 1px solid rgba(var(--color-dark), .1);
    padding-top: 35px;
}

.section-title {
    font-size: 28px;
    font-weight: 700;
    position: relative;
    display: inline-block;
    margin-bottom: 15px;
    color: var(--color-dark);
}

.section-title::after {
    content: '';
    position: absolute;
    right: -15px;
    top: 0;
    width: 4px;
    height: 100%;
    background: var(--color-primary);
}

.contact-card {
    background: var(--color-gray-dark);
    border: 1px solid var(--color-gray-dark);
    border-radius: 14px;
    padding: 20px;
    display: flex;
    justify-content: flex-start;
    gap: 26px;
    align-items: center;
    min-height: 100px;
}

.contact-card i {
    font-size: 35px;
    color: var(--color-primary);
}

.contact-card h6 {
    margin: 5px 0 0;
    font-size: 18px;
    font-weight: 700;
}

@media(max-width:768px) {

    .profile-info {
        justify-content: center;
        text-align: center;
    }

    .researcher-name {
        font-size: 24px;
    }

    .researcher-meta {
        justify-content: center;
    }

    .section-title {
        font-size: 22px;
    }

    .data-meta-item {
        white-space: normal;
    }
}

/* ############# Researcher By University Style ############# */
@media(max-width:768px) {
    .butns-sris {
        width: 100%;
    }
}
.butns-sris {
    color: #f2af2f;
    padding: 8px;
    border-radius: 6px;
    border: 1px solid #f2af2f;
}
