.dashboard-header {
    background: linear-gradient(135deg, rgba(74, 107, 255, 0.9), rgba(255, 107, 107, 0.9)), url('https://images.unsplash.com/photo-1541178735493-479c1a27ed24?ixlib=rb-1.2.1&auto=format&fit=crop&w=1351&q=80') no-repeat center center/cover;
    color: white;
    min-height: 40vh;
    display: flex;
    flex-direction: column;
}

.dashboard-hero {
    flex: 1;
    display: flex;
    align-items: flex-end;
    padding: 0 5%;
    padding-bottom: 40px;
}

.profile-header {
    display: flex;
    align-items: center;
    gap: 30px;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}

.profile-image {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    overflow: hidden;
    border: 4px solid white;
    box-shadow: var(--box-shadow);
}

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

.profile-info h1 {
    margin-bottom: 10px;
    font-size: 2rem;
}

.profile-info p {
    font-size: 1.1rem;
    opacity: 0.9;
}

.dashboard-main {
    max-width: 1200px;
    margin: -50px auto 0;
    padding: 0 20px 40px;
    position: relative;
    z-index: 1;
}

.dashboard-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 30px;
}

.dashboard-section {
    background-color: white;
    border-radius: 10px;
    padding: 25px;
    margin-bottom: 30px;
    box-shadow: var(--box-shadow);
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid #eee;
}

.section-header h2 {
    margin: 0;
    font-size: 1.3rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.section-header h2 i {
    color: var(--primary-color);
}

.view-all {
    font-size: 0.9rem;
    color: var(--primary-color);
    font-weight: 500;
}

.programs-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
}

.saved-program {
    border: 1px solid #eee;
    border-radius: 8px;
    padding: 15px;
    display: flex;
    gap: 15px;
    transition: var(--transition);
}

.saved-program:hover {
    border-color: var(--primary-color);
    background-color: rgba(74, 107, 255, 0.03);
}

.saved-program img {
    width: 50px;
    height: 50px;
    border-radius: 8px;
    object-fit: cover;
}

.saved-program-info h4 {
    margin-bottom: 5px;
    font-size: 1rem;
}

.saved-program-info p {
    font-size: 0.9rem;
    color: var(--secondary-color);
    margin-bottom: 5px;
}

.saved-program-actions {
    display: flex;
    gap: 10px;
    margin-top: 10px;
}

.saved-program-actions .btn {
    padding: 5px 10px;
    font-size: 0.8rem;
}

.results-summary {
    margin-bottom: 20px;
}

.result-category {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid #eee;
}

.result-category:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.category-icon {
    font-size: 2rem;
    flex-shrink: 0;
}

.category-info h3 {
    margin-bottom: 5px;
    font-size: 1.1rem;
}

.category-info p {
    font-size: 0.9rem;
    margin-bottom: 10px;
}

.match-score {
    display: inline-block;
    padding: 3px 10px;
    background-color: rgba(74, 107, 255, 0.1);
    color: var(--primary-color);
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.no-programs, .no-results {
    text-align: center;
    padding: 30px;
    grid-column: 1 / -1;
}

.no-programs p, .no-results p {
    margin-bottom: 15px;
}

.section-actions {
    display: flex;
    gap: 10px;
    margin-top: 20px;
}

.section-actions .btn {
    flex: 1;
}

.events-list {
    display: grid;
    gap: 15px;
}

.event-item {
    display: flex;
    gap: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid #eee;
}

.event-item:last-child {
    padding-bottom: 0;
    border-bottom: none;
}

.event-date {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background-color: rgba(74, 107, 255, 0.1);
    color: var(--primary-color);
    border-radius: 8px;
    flex-shrink: 0;
    font-weight: 600;
}

.event-date .day {
    font-size: 1.2rem;
    line-height: 1;
}

.event-date .month {
    font-size: 0.7rem;
    text-transform: uppercase;
}

.event-info h4 {
    margin-bottom: 5px;
    font-size: 1rem;
}

.event-info p {
    font-size: 0.9rem;
    color: var(--secondary-color);
}

.event-actions {
    margin-top: 5px;
}

.event-actions .btn {
    padding: 3px 10px;
    font-size: 0.8rem;
}

.chat-preview {
    margin-bottom: 20px;
}

.chat-item {
    display: flex;
    gap: 15px;
    padding: 10px 0;
    border-bottom: 1px solid #eee;
    cursor: pointer;
    transition: var(--transition);
}

.chat-item:last-child {
    border-bottom: none;
}

.chat-item:hover {
    background-color: rgba(0, 0, 0, 0.02);
}

.chat-item img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
}

.chat-info h4 {
    font-size: 0.9rem;
    margin-bottom: 3px;
}

.chat-info p {
    font-size: 0.8rem;
    color: var(--secondary-color);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 200px;
}

.actions-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
}

.action-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100px;
    background-color: rgba(74, 107, 255, 0.05);
    border: 1px solid #eee;
    border-radius: 8px;
    cursor: pointer;
    transition: var(--transition);
}

.action-btn:hover {
    background-color: rgba(74, 107, 255, 0.1);
    border-color: var(--primary-color);
}

.action-btn i {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.action-btn span {
    font-size: 0.9rem;
    font-weight: 500;
}

@media (max-width: 992px) {
    .dashboard-grid {
        grid-template-columns: 1fr;
    }
    
    .profile-header {
        flex-direction: column;
        text-align: center;
    }
    
    .profile-image {
        margin-bottom: 15px;
    }
}

@media (max-width: 576px) {
    .programs-list {
        grid-template-columns: 1fr;
    }
    
    .section-actions {
        flex-direction: column;
    }
    
    .section-actions .btn {
        width: 100%;
    }
    
    .actions-grid {
        grid-template-columns: 1fr;
    }
}