/* Alumni Extended Features Styles */

/* General Tab Content Styles */
.stories-container,
.events-container,
.jobs-container,
.mentorship-container {
    padding: 20px 0;
}

/* Success Stories Styles */
.stories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 25px;
    margin-top: 20px;
}

.story-card {
    background: var(--bg-secondary);
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.story-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.story-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
}

.story-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.story-content {
    padding: 20px;
}

.story-author {
    margin-bottom: 15px;
}

.author-info {
    display: flex;
    align-items: center;
    gap: 12px;
}

.author-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
}

.author-avatar-placeholder {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--primary-color);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 14px;
}

.author-details h4 {
    margin: 0;
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary);
}

.author-details p {
    margin: 2px 0 0 0;
    font-size: 12px;
    color: var(--text-secondary);
}

.story-title {
    font-size: 18px;
    font-weight: 600;
    margin: 0 0 10px 0;
    color: var(--text-primary);
    line-height: 1.4;
}

.story-excerpt {
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 15px;
}

.story-meta {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
    font-size: 12px;
    color: var(--text-secondary);
}

.story-meta i {
    margin-right: 5px;
}

.story-btn {
    background: var(--primary-color);
    color: white;
    padding: 8px 16px;
    border-radius: 6px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: background 0.3s ease;
}

.story-btn:hover {
    background: var(--primary-hover);
    color: white;
    text-decoration: none;
}

/* Events Styles */
.events-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 25px;
    margin-top: 20px;
}

.event-card {
    background: var(--bg-secondary);
    border-radius: 12px;
    border: 1px solid var(--border-color);
    padding: 20px;
    transition: all 0.3s ease;
    position: relative;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.event-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.event-date-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: var(--primary-color);
    color: white;
    border-radius: 8px;
    padding: 8px;
    text-align: center;
    min-width: 60px;
}

.event-month {
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
}

.event-day {
    font-size: 18px;
    font-weight: bold;
    line-height: 1;
}

.event-content {
    padding-right: 80px;
}

.event-title {
    font-size: 18px;
    font-weight: 600;
    margin: 0 0 15px 0;
    color: var(--text-primary);
}

.event-meta {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 15px;
    font-size: 14px;
    color: var(--text-secondary);
}

.event-meta > div {
    display: flex;
    align-items: center;
    gap: 8px;
}

.event-meta i {
    width: 16px;
    color: var(--primary-color);
}

.event-description {
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 15px;
}

.event-stats {
    margin-bottom: 20px;
    font-size: 14px;
    color: var(--text-secondary);
}

.event-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.event-btn {
    padding: 8px 16px;
    border-radius: 6px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.event-btn-primary {
    background: var(--primary-color);
    color: white;
}

.event-btn-primary:hover {
    background: var(--primary-hover);
    color: white;
}

.event-btn-secondary {
    background: var(--bg-tertiary);
    color: var(--text-primary);
    border: 1px solid var(--border-color);
}

.event-btn-secondary:hover {
    background: var(--border-color);
    color: var(--text-primary);
}

.event-btn-outline {
    background: transparent;
    color: var(--primary-color);
    border: 1px solid var(--primary-color);
}

.event-btn-outline:hover {
    background: var(--primary-color);
    color: white;
}

/* Jobs Styles */
.jobs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 25px;
    margin-top: 20px;
}

.job-card {
    background: var(--bg-secondary);
    border-radius: 12px;
    border: 1px solid var(--border-color);
    padding: 25px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.job-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.job-header {
    margin-bottom: 15px;
}

.job-title {
    font-size: 18px;
    font-weight: 600;
    margin: 0 0 5px 0;
    color: var(--text-primary);
}

.job-company {
    font-size: 16px;
    color: var(--primary-color);
    font-weight: 500;
}

.job-meta {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 10px;
    margin-bottom: 15px;
    font-size: 14px;
    color: var(--text-secondary);
}

.job-meta > div {
    display: flex;
    align-items: center;
    gap: 8px;
}

.job-meta i {
    width: 16px;
    color: var(--primary-color);
}

.job-description {
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 20px;
}

.job-posted {
    border-top: 1px solid var(--border-color);
    padding-top: 15px;
    margin-bottom: 20px;
    font-size: 13px;
    color: var(--text-secondary);
}

.job-posted > div {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 5px;
}

.job-posted i {
    width: 14px;
}

.job-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.job-btn {
    padding: 10px 18px;
    border-radius: 6px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
}

.job-btn-primary {
    background: var(--primary-color);
    color: white;
}

.job-btn-primary:hover {
    background: var(--primary-hover);
    color: white;
}

.job-btn-secondary {
    background: var(--bg-tertiary);
    color: var(--text-primary);
    border: 1px solid var(--border-color);
}

.job-btn-secondary:hover {
    background: var(--border-color);
    color: var(--text-primary);
}

/* Mentorship Styles */
.mentors-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 25px;
    margin-top: 20px;
}

.mentor-card {
    background: var(--bg-secondary);
    border-radius: 12px;
    border: 1px solid var(--border-color);
    padding: 25px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.mentor-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.mentor-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
}

.mentor-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
}

.mentor-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.mentor-avatar-placeholder {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--primary-color);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 18px;
}

.mentor-info h3 {
    margin: 0 0 5px 0;
    font-size: 18px;
    font-weight: 600;
    color: var(--text-primary);
}

.mentor-role {
    font-size: 14px;
    font-weight: 500;
    color: var(--primary-color);
}

.mentor-company {
    font-size: 14px;
    color: var(--text-secondary);
    margin: 2px 0;
}

.mentor-graduation {
    font-size: 12px;
    color: var(--text-secondary);
    opacity: 0.8;
}

.mentor-bio {
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 15px;
    font-size: 14px;
}

.mentor-expertise {
    margin-bottom: 15px;
}

.expertise-label {
    font-size: 12px;
    color: var(--text-secondary);
    margin-bottom: 5px;
}

.expertise-tag {
    display: inline-block;
    background: var(--primary-color);
    color: white;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 500;
}

.mentor-stats {
    margin-bottom: 20px;
    font-size: 14px;
    color: var(--text-secondary);
}

.mentor-stat {
    display: flex;
    align-items: center;
    gap: 8px;
}

.mentor-stat i {
    color: var(--primary-color);
}

.mentor-actions {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.mentor-btn {
    padding: 8px 12px;
    border-radius: 6px;
    text-decoration: none;
    font-size: 13px;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.mentor-btn-primary {
    background: var(--primary-color);
    color: white;
}

.mentor-btn-primary:hover {
    background: var(--primary-hover);
    color: white;
}

.mentor-btn-secondary {
    background: var(--bg-tertiary);
    color: var(--text-primary);
    border: 1px solid var(--border-color);
}

.mentor-btn-secondary:hover {
    background: var(--border-color);
    color: var(--text-primary);
}

.mentor-btn-outline {
    background: transparent;
    color: var(--primary-color);
    border: 1px solid var(--primary-color);
}

.mentor-btn-outline:hover {
    background: var(--primary-color);
    color: white;
}

.mentor-btn-linkedin {
    background: #0077b5;
    color: white;
}

.mentor-btn-linkedin:hover {
    background: #005885;
    color: white;
}

/* Empty State Styles */
.empty-state {
    text-align: center;
    padding: 60px 20px;
    color: var(--text-secondary);
}

.empty-state-icon {
    font-size: 64px;
    color: var(--border-color);
    margin-bottom: 20px;
}

.empty-state-title {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--text-primary);
}

.empty-state-text {
    font-size: 16px;
    margin-bottom: 30px;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

/* Responsive Design */
@media (max-width: 768px) {
    .stories-grid,
    .events-grid,
    .jobs-grid,
    .mentors-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .event-content {
        padding-right: 0;
        margin-top: 60px;
    }
    
    .event-date-badge {
        position: static;
        display: inline-block;
        margin-bottom: 15px;
    }
    
    .job-meta {
        grid-template-columns: 1fr;
        gap: 8px;
    }
    
    .mentor-header {
        flex-direction: column;
        text-align: center;
    }
    
    .mentor-actions {
        justify-content: center;
    }
    
    .story-card,
    .event-card,
    .job-card,
    .mentor-card {
        margin: 0 10px;
    }
}

/* Tab responsive improvements */
@media (max-width: 768px) {
    .alumni-tabs {
        display: flex;
        overflow-x: auto;
        scrollbar-width: none;
        -ms-overflow-style: none;
        padding-bottom: 10px;
    }
    
    .alumni-tabs::-webkit-scrollbar {
        display: none;
    }
    
    .tab-button {
        flex-shrink: 0;
        font-size: 13px;
        padding: 8px 12px;
    }
    
    .tab-icon {
        display: none;
    }
}

/* Form Styles */
.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--text-color, #333);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.75rem;
    border: 2px solid #e1e5e9;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
    font-family: inherit;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color, #007bff);
    box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.form-actions {
    display: flex;
    gap: 1rem;
    justify-content: flex-end;
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid #e1e5e9;
}

.btn {
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-primary {
    background: var(--primary-color, #007bff);
    color: white;
}

.btn-primary:hover {
    background: var(--primary-dark, #0056b3);
    transform: translateY(-1px);
}

.btn-secondary {
    background: #6c757d;
    color: white;
}

.btn-secondary:hover {
    background: #5a6268;
}

/* Story Form Overlay Styles */
.story-form-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    backdrop-filter: blur(5px);
}

.story-form {
    background: white;
    padding: 2rem;
    border-radius: 16px;
    max-width: 600px;
    width: 90%;
    max-height: 85vh;
    overflow-y: auto;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    animation: modalSlideIn 0.3s ease-out;
}

.story-form h3 {
    margin: 0 0 1.5rem 0;
    color: var(--text-color, #333);
    font-size: 1.5rem;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-20px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}
