/* ==========================================
   UNIXGO TEAM MEMBER PROFILE STYLESHEET
   (Scoped strictly under .profile-view, .modal-overlay & .toast-container)
   ========================================== */

/* Main Layout Container */
.main-content {
    max-width: 1280px;
    width: 100%;
    margin: 0 auto;
    padding: 40px 24px 80px 24px;
    flex: 1;
}

.profile-view {
    display: block;
}

/* Profile Top Navigation */
.profile-nav-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 24px;
}

.back-home-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    height: 40px;
    padding: 0 20px;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 700;
    background: #ffffff;
    border: 1.5px solid rgba(79, 176, 172, 0.3);
    color: #1C2D37;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.back-home-btn:hover {
    border-color: #4FB0AC;
    color: #4FB0AC;
    transform: translateY(-2px);
}

.route-breadcrumb {
    font-size: 14px;
    font-weight: 600;
    color: #8498A5;
}

.profile-card-container {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

/* Hero Profile Card */
.profile-view .profile-hero-card {
    background: rgba(255, 255, 255, 0.98);
    border-radius: 24px;
    border: 1px solid rgba(79, 176, 172, 0.25);
    box-shadow: 0 20px 40px rgba(23, 56, 59, 0.12);
    padding: 36px;
    position: relative;
    overflow: hidden;
}

.profile-view .hero-content {
    display: flex;
    gap: 36px;
    align-items: center;
}

@media (max-width: 900px) {
    .profile-view .hero-content {
        flex-direction: column;
        text-align: center;
    }
}

.profile-view .hero-left {
    flex-shrink: 0;
}

.profile-view .avatar-frame {
    width: 170px;
    height: 170px;
    border-radius: 50%;
    border: 4px solid #4FB0AC;
    overflow: hidden;
    box-shadow: 0 12px 28px rgba(79, 176, 172, 0.3);
}

.profile-view .avatar-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.profile-view .hero-right {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.profile-view .hero-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

@media (max-width: 900px) {
    .profile-view .hero-tags {
        justify-content: center;
    }
}

.profile-view .member-name {
    font-family: 'Outfit', 'Poppins', sans-serif;
    font-size: 32px;
    font-weight: 800;
    color: #1C2D37;
    letter-spacing: -0.5px;
    line-height: 1.2;
}

.profile-view .member-tagline {
    font-size: 15px;
    font-weight: 600;
    color: #2F7C7A;
}

.profile-view .member-quote {
    font-style: italic;
    color: #586F7C;
    border-left: 3px solid #F5A623;
    padding-left: 14px;
    font-size: 14px;
    margin: 4px 0;
}

@media (max-width: 900px) {
    .profile-view .member-quote {
        border-left: none;
        border-top: 3px solid #F5A623;
        padding-left: 0;
        padding-top: 8px;
    }
}

/* Action Buttons Container */
.profile-view .hero-actions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 8px;
}

@media (max-width: 900px) {
    .profile-view .hero-actions {
        justify-content: center;
    }
}

.profile-view .btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    height: 40px;
    padding: 0 20px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 13px;
    background: linear-gradient(135deg, #4FB0AC 0%, #2F7C7A 100%);
    color: #FFFFFF;
    border: none;
    box-shadow: 0 8px 20px rgba(79, 176, 172, 0.3);
    cursor: pointer;
    transition: all 0.2s ease;
}

.profile-view .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 24px rgba(79, 176, 172, 0.45);
}

.profile-view .btn-icon {
    width: 40px;
    height: 40px;
    padding: 0;
    border-radius: 14px;
    background: #FFFFFF;
    border: 1.5px solid rgba(79, 176, 172, 0.25);
    color: #4A606A;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    transition: all 0.2s ease;
    cursor: pointer;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.02);
}

.profile-view .btn-icon:hover {
    background: #EBF7F6;
    color: #2F7C7A;
    border-color: #4FB0AC;
    transform: translateY(-2px);
    box-shadow: 0 4px 14px rgba(79, 176, 172, 0.2);
}

/* Badges */
.profile-view .badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 12px;
    border-radius: 50px;
    font-size: 11px;
    font-weight: 700;
}

.profile-view .badge-primary {
    background: linear-gradient(135deg, #F5A623 0%, #E69512 100%);
    color: #FFFFFF;
}

.profile-view .badge-secondary {
    background: rgba(79, 176, 172, 0.15);
    color: #2F7C7A;
    border: 1px solid rgba(79, 176, 172, 0.3);
}

.profile-view .badge-spec {
    background: rgba(245, 166, 35, 0.15);
    color: #D98200;
    border: 1px solid rgba(245, 166, 35, 0.3);
}

/* 2-Column Body Layout */
.profile-body-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

@media (max-width: 850px) {
    .profile-body-grid {
        grid-template-columns: 1fr;
    }
}

.profile-view .content-card {
    background: #FFFFFF;
    border-radius: 16px;
    border: 1px solid rgba(79, 176, 172, 0.25);
    box-shadow: 0 10px 30px rgba(23, 56, 59, 0.08);
    padding: 28px;
}

.profile-view .card-title {
    font-family: 'Outfit', 'Poppins', sans-serif;
    font-size: 17px;
    font-weight: 700;
    color: #1C2D37;
    margin-bottom: 14px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.profile-view .card-title i {
    color: #4FB0AC;
}

.profile-view .bio-text {
    font-size: 14px;
    color: #586F7C;
    display: flex;
    flex-direction: column;
    gap: 10px;
    line-height: 1.65;
}

.profile-view .tools-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.profile-view .tool-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    border-radius: 50px;
    background: #EBF7F6;
    color: #2F7C7A;
    font-size: 12px;
    font-weight: 700;
}

/* Key Responsibilities Pillars List */
.profile-view .pillars-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.profile-view .pillar-card {
    background: #F8FAFA;
    border: 1px solid rgba(79, 176, 172, 0.2);
    border-radius: 16px;
    padding: 16px;
    display: flex;
    align-items: flex-start;
    gap: 14px;
}

.profile-view .pillar-icon {
    width: 38px;
    height: 38px;
    border-radius: 8px;
    background: #EBF7F6;
    color: #2F7C7A;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 17px;
    flex-shrink: 0;
}

.profile-view .pillar-card h3 {
    font-size: 15px;
    font-weight: 700;
    color: #1C2D37;
}

.profile-view .pillar-card p {
    font-size: 13px;
    color: #586F7C;
    margin-top: 2px;
}

/* Global Founder Switcher Footer Strip */
.profile-view .team-switcher-strip {
    background: #FFFFFF;
    border-radius: 24px;
    border: 1px solid rgba(79, 176, 172, 0.25);
    box-shadow: 0 10px 30px rgba(23, 56, 59, 0.08);
    padding: 24px;
}

.profile-view .strip-header {
    text-align: center;
    margin-bottom: 18px;
}

.profile-view .strip-header h3 {
    font-size: 18px;
    font-weight: 800;
    color: #1C2D37;
}

.profile-view .team-strip-grid {
    display: flex;
    flex-direction: column;
}

.profile-view .founders-strip-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 12px;
}

@media (max-width: 992px) {
    .profile-view .founders-strip-grid {
        grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    }
}

.profile-view .founder-strip-card {
    background: #F8FAFA;
    border: 1px solid rgba(79, 176, 172, 0.2);
    border-radius: 16px;
    padding: 14px;
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.profile-view .founder-strip-card:hover {
    border-color: #4FB0AC;
    transform: translateY(-2px);
}

.profile-view .founder-strip-card.active {
    border-color: #4FB0AC;
    background: #EBF7F6;
}

.profile-view .founder-strip-card img {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #4FB0AC;
    flex-shrink: 0;
}

.profile-view .founder-strip-card h4 {
    font-size: 13px;
    font-weight: 700;
    color: #1C2D37;
    margin: 0;
    line-height: 1.2;
}

.profile-view .founder-strip-card span {
    font-size: 11px;
    font-weight: 700;
    color: #2E7D7A;
    display: block;
    margin-top: 2px;
}

.profile-view .strip-divider {
    border-top: 1.5px dotted rgba(79, 176, 172, 0.4);
    margin: 22px 0 16px 0;
}

.profile-view .advisor-strip-header {
    text-align: center;
    font-size: 13px;
    font-weight: 800;
    color: #2E7D7A;
    letter-spacing: 0.8px;
    margin-bottom: 14px;
    text-transform: uppercase;
}

.profile-view .advisor-strip-container {
    display: flex;
    justify-content: center;
}

.profile-view .advisor-strip-card {
    max-width: 290px;
    width: 100%;
}

.profile-view .founder-strip-card span.advisor-role {
    color: #2E7D7A;
    font-weight: 600;
    text-transform: none;
}

/* Modal System */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(8px);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease;
}

.modal-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

.modal-box {
    background: #FFFFFF;
    border-radius: 24px;
    border: 1px solid rgba(79, 176, 172, 0.25);
    box-shadow: 0 20px 40px rgba(23, 56, 59, 0.14);
    max-width: 500px;
    width: 100%;
    padding: 28px;
    position: relative;
    transform: scale(0.95);
    transition: transform 0.2s ease;
}

.modal-overlay.active .modal-box {
    transform: scale(1);
}

.modal-close-btn {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #F8FAFA;
    color: #586F7C;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    cursor: pointer;
    border: none;
}

.modal-header {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 20px;
}

.modal-icon {
    font-size: 28px;
    color: #4FB0AC;
}

.modal-header h3 {
    font-size: 18px;
    color: #1C2D37;
}

.modal-header p {
    font-size: 12px;
    color: #586F7C;
}

.booking-form {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.form-group label {
    font-size: 12px;
    font-weight: 700;
    color: #1C2D37;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.form-input {
    width: 100%;
    padding: 10px 14px;
    border-radius: 12px;
    border: 1px solid rgba(79, 176, 172, 0.25);
    background: #F8FAFA;
    color: #1C2D37;
    font-family: inherit;
    font-size: 13px;
    transition: all 0.2s ease;
}

.form-input:focus {
    outline: none;
    border-color: #4FB0AC;
    box-shadow: 0 0 0 3px rgba(79, 176, 172, 0.2);
}

.btn-block {
    width: 100%;
}

/* Toast Notifications */
.toast-container {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 2000;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.toast {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 18px;
    border-radius: 12px;
    background: #1C2D37;
    color: #F8FAFA;
    font-size: 13px;
    font-weight: 600;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    animation: toastIn 0.3s ease;
}

.toast i {
    color: #10B981;
    font-size: 16px;
}

@keyframes toastIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
