/* ============================================
   DETAILED PROFILE CARD STYLES
   ============================================ */

/* Mobile/Compact View Styles */
.profile-card-mobile {
    max-width: 400px;
    margin: 0 auto;
    background: var(--rushdania-white);
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(26, 95, 90, 0.1);
}

.profile-card-mobile .card-content {
    display: flex;
    flex-direction: row;
    min-height: 100vh;
}

.card-left {
    flex: 1;
    background: var(--rushdania-white);
    padding: 20px 15px;
    position: relative;
    z-index: 1;
}

.logo-section {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
}

.logo-icon {
    width: 40px;
    height: 40px;
    flex-shrink: 0;
}

.logo-icon svg {
    width: 100%;
    height: 100%;
}

.logo-text {
    font-size: 12px;
    font-weight: 600;
    color: #000;
    line-height: 1.2;
}

.content-section {
    font-size: 11px;
    line-height: 1.6;
    color: #333;
}

.intro-text {
    margin-bottom: 12px;
    text-align: justify;
}

.conditions-list {
    list-style: none;
    padding-right: 15px;
    margin-bottom: 15px;
}

.conditions-list li {
    position: relative;
    margin-bottom: 8px;
    padding-right: 12px;
}

.conditions-list li::before {
    content: "•";
    position: absolute;
    right: 0;
    color: var(--rushdania-teal);
    font-weight: bold;
}

.experience-text {
    margin-bottom: 15px;
    text-align: justify;
}

.section-title {
    font-size: 13px;
    font-weight: bold;
    color: var(--rushdania-teal);
    margin: 15px 0 10px 0;
}

.qualifications-list {
    list-style: none;
    padding-right: 15px;
    margin-bottom: 15px;
}

.qualifications-list li {
    position: relative;
    margin-bottom: 8px;
    padding-right: 12px;
    font-size: 10px;
}

.qualifications-list li::before {
    content: "•";
    position: absolute;
    right: 0;
    color: var(--rushdania-teal);
    font-weight: bold;
}

.commitment-text {
    margin-bottom: 20px;
    text-align: justify;
    font-size: 10px;
}

.name-section-bottom {
    position: relative;
    margin-top: auto;
    padding-top: 20px;
}

.wave-decoration {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 100%;
    height: 30px;
    background: linear-gradient(180deg, rgba(26, 95, 90, 0.15) 0%, transparent 100%);
    border-radius: 50% 50% 0 0 / 100% 100% 0 0;
}

.english-name {
    font-size: 24px;
    font-weight: bold;
    color: #000;
    position: relative;
    z-index: 1;
    text-align: right;
}

.card-right {
    width: 120px;
    background: var(--rushdania-teal);
    display: flex;
    flex-direction: column;
    position: relative;
    padding: 15px 10px;
}

.titles-section {
    margin-bottom: 15px;
}

.arabic-name {
    font-size: 14px;
    font-weight: bold;
    color: white;
    margin-bottom: 5px;
    line-height: 1.3;
}

.arabic-title {
    font-size: 11px;
    color: white;
    margin-bottom: 3px;
    line-height: 1.3;
    font-weight: normal;
}

.photo-container {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 10px 0;
    position: relative;
}

.profile-photo {
    width: 100%;
    max-width: 90px;
    height: auto;
    border-radius: 8px;
    object-fit: cover;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.additional-info {
    margin-top: auto;
    padding-top: 10px;
}

.degree-info,
.membership-info {
    font-size: 9px;
    color: white;
    line-height: 1.4;
    margin-bottom: 5px;
    text-align: center;
}

/* Desktop View Styles */
.profile-card-desktop {
    max-width: 900px;
    margin: 0 auto;
    background: var(--rushdania-white);
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(26, 95, 90, 0.15);
    padding: 30px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.profile-card-desktop:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(26, 95, 90, 0.2);
}

.desktop-card {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.desktop-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
}

.logo-icon-small {
    width: 35px;
    height: 35px;
    flex-shrink: 0;
}

.logo-icon-small svg {
    width: 100%;
    height: 100%;
}

.logo-text-small {
    font-size: 14px;
    font-weight: 600;
    color: #000;
}

.desktop-content {
    display: flex;
    gap: 30px;
    align-items: flex-start;
}

.desktop-text-content {
    flex: 1;
    font-size: 14px;
    line-height: 1.8;
    color: #333;
}

.desktop-titles {
    text-align: right;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid rgba(26, 95, 90, 0.2);
}

.desktop-arabic-name {
    font-size: 24px;
    font-weight: bold;
    color: var(--rushdania-teal);
    margin-bottom: 8px;
}

.desktop-arabic-title {
    font-size: 16px;
    color: var(--rushdania-teal);
    margin-bottom: 5px;
    font-weight: 600;
}

.desktop-degree {
    font-size: 13px;
    color: var(--rushdania-dark);
    opacity: 0.7;
    margin-top: 8px;
    margin-bottom: 5px;
}

.desktop-membership {
    font-size: 13px;
    color: var(--rushdania-dark);
    opacity: 0.7;
    margin-bottom: 0;
}

.desktop-intro-text {
    margin-bottom: 15px;
    text-align: justify;
}

.desktop-conditions-list {
    list-style: none;
    padding-right: 20px;
    margin-bottom: 20px;
}

.desktop-conditions-list li {
    position: relative;
    margin-bottom: 10px;
    padding-right: 15px;
}

.desktop-conditions-list li::before {
    content: "•";
    position: absolute;
    right: 0;
    color: var(--rushdania-teal);
    font-weight: bold;
    font-size: 18px;
}

.desktop-experience-text {
    margin-bottom: 20px;
    text-align: justify;
}

.desktop-section-title {
    font-size: 18px;
    font-weight: bold;
    color: var(--rushdania-teal);
    margin: 20px 0 15px 0;
}

.desktop-qualifications-list {
    list-style: none;
    padding-right: 20px;
    margin-bottom: 20px;
}

.desktop-qualifications-list li {
    position: relative;
    margin-bottom: 10px;
    padding-right: 15px;
    font-size: 13px;
}

.desktop-qualifications-list li::before {
    content: "•";
    position: absolute;
    right: 0;
    color: var(--rushdania-teal);
    font-weight: bold;
    font-size: 18px;
}

.desktop-commitment-text {
    margin-bottom: 20px;
    text-align: justify;
    font-size: 13px;
}

.desktop-photo-container {
    flex-shrink: 0;
    width: 200px;
}

.desktop-profile-photo {
    width: 100%;
    height: auto;
    border-radius: 8px;
    object-fit: cover;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.desktop-name-bottom {
    position: relative;
    padding-top: 20px;
    border-top: 2px solid rgba(26, 95, 90, 0.2);
    text-align: right;
}

.desktop-wave-decoration {
    position: absolute;
    top: -2px;
    right: 0;
    width: 200px;
    height: 20px;
    background: linear-gradient(180deg, rgba(26, 95, 90, 0.15) 0%, transparent 100%);
    border-radius: 50% 50% 0 0 / 100% 100% 0 0;
}

.desktop-english-name {
    font-size: 28px;
    font-weight: bold;
    color: #000;
    margin-bottom: 5px;
    position: relative;
    z-index: 1;
}

.desktop-english-title {
    font-size: 16px;
    color: var(--rushdania-teal);
    font-weight: 600;
    margin-bottom: 5px;
}

.desktop-english-degree {
    font-size: 14px;
    color: var(--rushdania-dark);
    opacity: 0.7;
}

/* Responsive adjustments for profile cards */
@media (max-width: 768px) {
    .profile-card-desktop .desktop-content {
        flex-direction: column;
    }

    .desktop-photo-container {
        width: 100%;
        max-width: 250px;
        margin: 0 auto;
    }

    .desktop-titles {
        text-align: center;
    }
}

/* Bootstrap responsive utilities for profile cards */
.d-md-none {
    display: none !important;
}

@media (min-width: 768px) {
    .d-md-none {
        display: none !important;
    }
    
    .d-md-block {
        display: block !important;
    }
}

@media (max-width: 767px) {
    .d-md-block {
        display: none !important;
    }
    
    .d-md-none {
        display: block !important;
    }
}

/* Dynamic list item styles for dashboard forms */
.dynamic-list-item {
    display: flex;
    gap: 10px;
    margin-bottom: 10px;
    align-items: center;
}

.dynamic-list-item input {
    flex: 1;
}

.dynamic-list-item .btn-remove {
    color: #dc3545;
    border: none;
    background: none;
    cursor: pointer;
    font-size: 1.2rem;
    padding: 0 10px;
    transition: color 0.3s ease;
}

.dynamic-list-item .btn-remove:hover {
    color: #c82333;
    transform: scale(1.1);
}
