/* Company Section Styles */
.company-section {
    display: none;
    padding: 0;
    margin-bottom: 24px;
}

/* Header Styles */
.company-header {
    position: relative;
    height: 300px;
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 24px;
}

.company-banner {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.company-header-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 24px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.7), transparent);
    color: #FFFFFF;
}

.company-logo-container {
    position: absolute;
    top: 24px;
    left: 24px;
    background-color: #FFFFFF;
    border-radius: 12px;
    padding: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.company-logo {
    height: 48px;
}

.company-name {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 8px;
}

.company-tagline {
    font-size: 18px;
    font-weight: 500;
    margin-bottom: 16px;
    opacity: 0.9;
}

.company-meta {
    display: flex;
    gap: 24px;
    font-size: 14px;
    opacity: 0.8;
}

.company-meta-item {
    display: flex;
    align-items: center;
    gap: 8px;
}

/* Navigation Styles */
.company-navigation {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
}

.company-breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: #64748B;
}

.company-breadcrumb i {
    font-size: 12px;
}

.back-to-feed-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #4A90E2;
    font-weight: 500;
    cursor: pointer;
}

.company-tabs {
    display: flex;
    gap: 4px;
    overflow-x: auto;
    padding-bottom: 4px;
}

.company-tab {
    padding: 8px 16px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    color: #64748B;
    cursor: pointer;
    white-space: nowrap;
    transition: all 0.2s ease;
}

.company-tab:hover {
    background-color: #F1F5F9;
}

.company-tab.active {
    background-color: #4A90E2;
    color: #FFFFFF;
}

/* Tab Content Styles */
.company-tab-content {
    display: none;
}

#overviewTab {
    display: block;
}

/* Company Stats Cards */
.company-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin-bottom: 32px;
}

.stat-card {
    background-color: #FFFFFF;
    border-radius: 12px;
    padding: 24px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.stat-icon {
    font-size: 32px;
    color: #4A90E2;
    margin-bottom: 16px;
}

.stat-value {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 8px;
}

.stat-label {
    font-size: 14px;
    color: #64748B;
}

.growth-indicator {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 14px;
    color: #10B981;
    margin-left: 8px;
}

.growth-indicator.negative {
    color: #EF4444;
}

/* Mission & Vision Section */
.mission-vision {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    margin-bottom: 32px;
}

.mission-card, .vision-card {
    background-color: #FFFFFF;
    border-radius: 12px;
    padding: 24px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.card-title {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 16px;
    color: #4A90E2;
}

.card-content {
    font-size: 16px;
    line-height: 1.6;
    color: #1E293B;
}

/* Core Values */
.core-values {
    margin-bottom: 32px;
}

.section-title {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 16px;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.value-card {
    background-color: #FFFFFF;
    border-radius: 12px;
    padding: 16px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.value-icon {
    font-size: 32px;
    color: #4A90E2;
    margin-bottom: 12px;
}

.value-name {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 8px;
}

.value-description {
    font-size: 14px;
    color: #64748B;
}

/* Company Highlights */
.company-highlights {
    margin-bottom: 32px;
}

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

.highlight-card {
    background-color: #FFFFFF;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.highlight-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.highlight-content {
    padding: 16px;
}

.highlight-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 8px;
}

.highlight-date {
    font-size: 14px;
    color: #64748B;
    margin-bottom: 12px;
}

.highlight-description {
    font-size: 14px;
    line-height: 1.5;
}

/* Leadership Team */
.leadership-team {
    margin-bottom: 32px;
}

.team-preview {
    display: flex;
    gap: 24px;
    margin-bottom: 16px;
}

.team-member {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.member-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 12px;
    border: 2px solid #FFFFFF;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.member-name {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 4px;
}

.member-title {
    font-size: 14px;
    color: #64748B;
}

.view-all-team {
    display: block;
    text-align: center;
    color: #4A90E2;
    font-weight: 500;
    margin-top: 16px;
}

/* Company Timeline */
.company-timeline {
    margin-bottom: 32px;
}

.timeline {
    position: relative;
    padding-left: 32px;
}

.timeline::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 8px;
    width: 2px;
    background-color: #E2E8F0;
}

.timeline-item {
    position: relative;
    margin-bottom: 32px;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: -32px;
    top: 0;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background-color: #4A90E2;
    border: 3px solid #FFFFFF;
    box-shadow: 0 0 0 3px rgba(74, 144, 226, 0.3);
}

.timeline-year {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 8px;
    color: #4A90E2;
}

.timeline-content {
    background-color: #FFFFFF;
    border-radius: 12px;
    padding: 16px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.timeline-title {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 8px;
}

.timeline-description {
    font-size: 14px;
    color: #64748B;
    line-height: 1.5;
}

/* Other Tab Content Placeholders */
.tab-placeholder {
    background-color: #FFFFFF;
    border-radius: 12px;
    padding: 48px;
    text-align: center;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.placeholder-icon {
    font-size: 48px;
    color: #CBD5E1;
    margin-bottom: 16px;
}

.placeholder-title {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 8px;
    color: #64748B;
}

.placeholder-text {
    font-size: 16px;
    color: #94A3B8;
    max-width: 500px;
    margin: 0 auto;
}

/* Active Navigation Item */
.active-nav-item {
    background-color: #EBF8FF;
    color: #4A90E2;
    font-weight: 500;
}

/* News & Updates Tab Styles */
#newsTab {
    display: none;
}

/* News Header Section */
.news-header {
    margin-bottom: 24px;
}

.news-search-filter {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
}

.news-search {
    flex: 1;
    position: relative;
}

.news-search input {
    width: 100%;
    padding: 12px 16px 12px 40px;
    border: 1px solid #E2E8F0;
    border-radius: 8px;
    font-size: 14px;
    outline: none;
    transition: border-color 0.2s ease;
}

.news-search input:focus {
    border-color: #4A90E2;
}

.news-search i {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: #64748B;
}

.news-filters {
    display: flex;
    gap: 12px;
}

.news-filter-dropdown, .news-sort-dropdown {
    padding: 10px 16px;
    border: 1px solid #E2E8F0;
    border-radius: 8px;
    font-size: 14px;
    color: #1E293B;
    background-color: #FFFFFF;
    outline: none;
    cursor: pointer;
    transition: border-color 0.2s ease;
}

.news-filter-dropdown:focus, .news-sort-dropdown:focus {
    border-color: #4A90E2;
}

/* Featured News Section */
.featured-news {
    margin-bottom: 32px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    position: relative;
    height: 400px;
    background-color: #FFFFFF;
}

.featured-news-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.featured-news-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 32px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.4) 60%, transparent);
    color: #FFFFFF;
}

.featured-category {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 16px;
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.featured-title {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 12px;
    line-height: 1.3;
}

.featured-excerpt {
    font-size: 16px;
    margin-bottom: 16px;
    opacity: 0.9;
    line-height: 1.5;
}

.featured-meta {
    display: flex;
    align-items: center;
    gap: 16px;
    font-size: 14px;
    opacity: 0.8;
}

.featured-author {
    display: flex;
    align-items: center;
    gap: 8px;
}

.featured-author-avatar {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    object-fit: cover;
    border: 1px solid #FFFFFF;
}

.featured-date, .featured-read-time {
    display: flex;
    align-items: center;
    gap: 4px;
}

.featured-read-more {
    position: absolute;
    bottom: 32px;
    right: 32px;
    padding: 8px 16px;
    background-color: #4A90E2;
    color: #FFFFFF;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    transition: background-color 0.2s ease;
}

.featured-read-more:hover {
    background-color: #3A80D2;
}

/* News Grid Section */
.news-section {
    margin-bottom: 32px;
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 16px;
}

.news-card {
    background-color: #FFFFFF;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
}

.news-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
}

.news-card-image-container {
    height: 200px;
    overflow: hidden;
    position: relative;
}

.news-card-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.news-card:hover .news-card-image {
    transform: scale(1.05);
}

.news-card-category {
    position: absolute;
    top: 12px;
    left: 12px;
    padding: 4px 12px;
    border-radius: 16px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #FFFFFF;
}

.news-card-content {
    padding: 20px;
}

.news-card-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 12px;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.news-card-excerpt {
    font-size: 14px;
    color: #64748B;
    margin-bottom: 16px;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.news-card-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 12px;
    color: #94A3B8;
}

.news-card-author-date {
    display: flex;
    align-items: center;
    gap: 8px;
}

.news-card-metrics {
    display: flex;
    align-items: center;
    gap: 12px;
}

.news-card-views, .news-card-comments {
    display: flex;
    align-items: center;
    gap: 4px;
}

/* Newsletter Section */
.newsletter-section {
    margin-bottom: 32px;
}

.newsletter-container {
    background-color: #F8FAFC;
    border-radius: 12px;
    padding: 32px;
    display: flex;
    gap: 32px;
    align-items: center;
}

.newsletter-content {
    flex: 2;
}

.newsletter-content h3 {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 12px;
    color: #1E293B;
}

.newsletter-content p {
    font-size: 16px;
    color: #64748B;
    margin-bottom: 24px;
    line-height: 1.5;
}

.newsletter-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.newsletter-form input[type="email"] {
    padding: 12px 16px;
    border: 1px solid #E2E8F0;
    border-radius: 8px;
    font-size: 14px;
    outline: none;
    transition: border-color 0.2s ease;
}

.newsletter-form input[type="email"]:focus {
    border-color: #4A90E2;
}

.frequency-options {
    display: flex;
    gap: 16px;
}

.frequency-options label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: #64748B;
    cursor: pointer;
}

.frequency-options input[type="radio"] {
    accent-color: #4A90E2;
}

.subscribe-btn {
    align-self: flex-start;
    padding: 10px 24px;
    background-color: #4A90E2;
    color: #FFFFFF;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.subscribe-btn:hover {
    background-color: #3A80D2;
}

.newsletter-preview {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.newsletter-preview img {
    width: 100%;
    max-width: 300px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.newsletter-preview span {
    font-size: 14px;
    color: #64748B;
}

/* News Archive Section */
.news-archive {
    margin-bottom: 32px;
}

.archive-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
}

.archive-header h3 {
    font-size: 20px;
    font-weight: 600;
    color: #1E293B;
}

.toggle-archive-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    background: none;
    border: none;
    color: #4A90E2;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: color 0.2s ease;
}

.toggle-archive-btn:hover {
    color: #3A80D2;
}

.archive-content {
    background-color: #FFFFFF;
    border-radius: 12px;
    padding: 24px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.archive-filters {
    display: flex;
    gap: 16px;
    margin-bottom: 24px;
}

.archive-year, .archive-month {
    padding: 8px 16px;
    border: 1px solid #E2E8F0;
    border-radius: 8px;
    font-size: 14px;
    color: #1E293B;
    background-color: #FFFFFF;
    outline: none;
    cursor: pointer;
    transition: border-color 0.2s ease;
}

.archive-year:focus, .archive-month:focus {
    border-color: #4A90E2;
}

.archive-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-bottom: 24px;
}

.archive-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 16px;
}

.pagination-btn {
    padding: 8px 16px;
    background-color: #F1F5F9;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    color: #64748B;
    cursor: pointer;
    transition: background-color 0.2s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.pagination-btn:not([disabled]):hover {
    background-color: #E2E8F0;
    color: #1E293B;
}

.pagination-btn[disabled] {
    opacity: 0.5;
    cursor: not-allowed;
}

.pagination-numbers {
    display: flex;
    gap: 8px;
}

.page-number {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 14px;
    color: #64748B;
    cursor: pointer;
    transition: all 0.2s ease;
}

.page-number:hover {
    background-color: #E2E8F0;
}

.page-number.active {
    background-color: #4A90E2;
    color: #FFFFFF;
}

/* News Article Modal */
.news-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 2000;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.news-modal.active {
    opacity: 1;
    visibility: visible;
}

.news-modal-content {
    width: 90%;
    max-width: 900px;
    max-height: 90vh;
    background-color: #FFFFFF;
    border-radius: 12px;
    overflow-y: auto;
    position: relative;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
    animation: modalFadeIn 0.3s ease forwards;
}

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

.close-modal {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.9);
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #1E293B;
    font-size: 16px;
    cursor: pointer;
    z-index: 10;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: background-color 0.2s ease;
}

.close-modal:hover {
    background-color: #F1F5F9;
}

.news-article {
    padding: 32px;
}

.article-category {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 16px;
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 16px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #FFFFFF;
}

.article-header {
    margin-bottom: 24px;
}

.article-title {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 16px;
    line-height: 1.3;
    color: #1E293B;
}

.article-meta {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 24px;
}

.article-author {
    display: flex;
    align-items: center;
    gap: 8px;
}

.article-author-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    object-fit: cover;
}

.article-author-name {
    font-size: 14px;
    font-weight: 500;
    color: #1E293B;
}

.article-date, .article-read-time {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 14px;
    color: #64748B;
}

.article-image {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 24px;
}

.article-content {
    font-size: 16px;
    line-height: 1.8;
    color: #1E293B;
    margin-bottom: 32px;
}

.article-content p {
    margin-bottom: 16px;
}

.article-actions {
    display: flex;
    justify-content: space-between;
    padding: 16px 32px;
    border-top: 1px solid #E2E8F0;
    border-bottom: 1px solid #E2E8F0;
}

.article-action-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    background: none;
    border: none;
    color: #64748B;
    font-size: 14px;
    cursor: pointer;
    transition: color 0.2s ease;
    padding: 8px 16px;
    border-radius: 8px;
}

.article-action-btn:hover {
    color: #4A90E2;
    background-color: #F1F5F9;
}

.article-action-btn.active {
    color: #4A90E2;
}

.article-comments {
    padding: 32px;
}

.article-comments h3 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 24px;
    color: #1E293B;
    display: flex;
    align-items: center;
    gap: 8px;
}

.comment-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    background-color: #4A90E2;
    color: #FFFFFF;
    border-radius: 50%;
    font-size: 12px;
    font-weight: 500;
}

.comment-form {
    margin-bottom: 24px;
}

.comment-form textarea {
    width: 100%;
    height: 100px;
    padding: 16px;
    border: 1px solid #E2E8F0;
    border-radius: 8px;
    font-size: 14px;
    resize: none;
    outline: none;
    transition: border-color 0.2s ease;
    margin-bottom: 16px;
}

.comment-form textarea:focus {
    border-color: #4A90E2;
}

.post-comment-btn {
    padding: 8px 16px;
    background-color: #4A90E2;
    color: #FFFFFF;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.post-comment-btn:hover {
    background-color: #3A80D2;
}

.comments-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.comment-item {
    padding: 16px;
    background-color: #F8FAFC;
    border-radius: 8px;
}

.comment-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 12px;
}

.comment-author {
    display: flex;
    align-items: center;
    gap: 8px;
}

.comment-author-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    object-fit: cover;
}

.comment-author-name {
    font-size: 14px;
    font-weight: 500;
    color: #1E293B;
}

.comment-time {
    font-size: 12px;
    color: #94A3B8;
}

.comment-text {
    font-size: 14px;
    line-height: 1.6;
    color: #1E293B;
}

/* Responsive Styles for News Tab */
@media (max-width: 992px) {
    .news-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .archive-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .newsletter-container {
        flex-direction: column;
    }

    .newsletter-preview {
        order: -1;
    }
}

@media (max-width: 768px) {
    .news-search-filter {
        flex-direction: column;
        align-items: stretch;
    }

    .news-filters {
        justify-content: space-between;
    }

    .news-grid {
        grid-template-columns: 1fr;
    }

    .archive-grid {
        grid-template-columns: 1fr;
    }

    .featured-news {
        height: 300px;
    }

    .featured-title {
        font-size: 24px;
    }

    .featured-excerpt {
        font-size: 14px;
    }

    .article-actions {
        flex-wrap: wrap;
        gap: 8px;
    }
}

/* Departments Tab Styles */
.departments-header {
    margin-bottom: 24px;
}

.view-toggle {
    display: flex;
    gap: 8px;
    margin-bottom: 16px;
}

.view-btn {
    padding: 8px 16px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    color: #64748B;
    background-color: #F1F5F9;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.view-btn:hover {
    background-color: #E2E8F0;
    color: #1E293B;
}

.view-btn.active {
    background-color: #4A90E2;
    color: #FFFFFF;
}

.department-search-filter {
    display: flex;
    gap: 16px;
}

.department-search {
    flex: 1;
    position: relative;
}

.department-search input {
    width: 100%;
    padding: 12px 16px 12px 40px;
    border: 1px solid #E2E8F0;
    border-radius: 8px;
    font-size: 14px;
    outline: none;
    transition: border-color 0.2s ease;
}

.department-search input:focus {
    border-color: #4A90E2;
}

.department-search i {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: #64748B;
}

.department-filter {
    padding: 10px 16px;
    border: 1px solid #E2E8F0;
    border-radius: 8px;
    font-size: 14px;
    color: #1E293B;
    background-color: #FFFFFF;
    outline: none;
    cursor: pointer;
    transition: border-color 0.2s ease;
}

.department-filter:focus {
    border-color: #4A90E2;
}

/* Organizational Chart Styles */
.org-chart-view {
    position: relative;
    padding: 24px;
    background-color: #FFFFFF;
    border-radius: 12px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    margin-bottom: 32px;
}

.zoom-controls {
    position: absolute;
    top: 16px;
    right: 16px;
    display: flex;
    gap: 8px;
    background-color: #FFFFFF;
    padding: 4px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.zoom-btn {
    width: 32px;
    height: 32px;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #64748B;
    cursor: pointer;
    transition: all 0.2s ease;
}

.zoom-btn:hover {
    background-color: #F1F5F9;
    color: #1E293B;
}

.zoom-reset {
    padding: 0 8px;
    font-size: 12px;
    font-weight: 500;
}

.org-chart-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 48px;
    padding: 32px;
    transform-origin: center top;
    transition: transform 0.3s ease;
}

.department-nodes {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 32px;
    width: 100%;
}

.org-chart-node {
    background-color: #FFFFFF;
    border-radius: 12px;
    border: 2px solid;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
}

.org-chart-node:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 12px rgba(0, 0, 0, 0.15);
}

.node-header {
    padding: 12px 16px;
    color: #FFFFFF;
    display: flex;
    align-items: center;
    gap: 8px;
}

.node-header i {
    font-size: 20px;
}

.node-header h3 {
    font-size: 16px;
    font-weight: 600;
    margin: 0;
}

.node-content {
    padding: 16px;
    display: flex;
    gap: 16px;
}

.node-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #FFFFFF;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.node-info {
    flex: 1;
}

.node-leader {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 4px;
}

.node-title {
    font-size: 12px;
    color: #64748B;
    margin-bottom: 8px;
}

.node-count {
    font-size: 12px;
    color: #64748B;
    display: flex;
    align-items: center;
    gap: 4px;
}

/* Department Grid View Styles */
.department-grid-view {
    display: none;
}

.department-category {
    margin-bottom: 32px;
}

.category-title {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 16px;
    color: #1E293B;
}

.department-cards {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 24px;
}

.department-card {
    background-color: #FFFFFF;
    border-radius: 12px;
    border: 2px solid;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
}

.department-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 12px rgba(0, 0, 0, 0.15);
}

.card-header {
    padding: 16px;
    color: #FFFFFF;
    display: flex;
    align-items: center;
    gap: 12px;
}

.card-header i {
    font-size: 24px;
}

.card-header h3 {
    font-size: 18px;
    font-weight: 600;
    margin: 0;
}

.card-content {
    padding: 20px;
}

.department-head {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 16px;
}

.head-avatar {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #FFFFFF;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.head-info {
    flex: 1;
}

.head-name {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 4px;
}

.head-title {
    font-size: 14px;
    color: #64748B;
}

.department-description {
    font-size: 14px;
    color: #1E293B;
    line-height: 1.5;
    margin-bottom: 16px;
}

.department-meta {
    display: flex;
    justify-content: space-between;
    margin-bottom: 12px;
    font-size: 14px;
    color: #64748B;
}

.employee-count, .location {
    display: flex;
    align-items: center;
    gap: 6px;
}

.open-positions {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    color: #10B981;
    margin-bottom: 16px;
}

.view-team-btn {
    width: 100%;
    padding: 10px;
    background-color: #4A90E2;
    color: #FFFFFF;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.view-team-btn:hover {
    background-color: #3A80D2;
}

/* Department Modal Styles */
.department-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 2000;
    display: none;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.department-modal.active {
    opacity: 1;
    visibility: visible;
}

.department-modal-content {
    width: 90%;
    max-width: 800px;
    max-height: 90vh;
    background-color: #FFFFFF;
    border-radius: 12px;
    overflow-y: auto;
    position: relative;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
    animation: modalFadeIn 0.3s ease forwards;
}

.department-header {
    padding: 32px;
    color: #FFFFFF;
}

.department-header h2 {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 8px;
}

.department-header p {
    font-size: 16px;
    opacity: 0.9;
}

.department-body {
    padding: 32px;
}

.department-leader {
    display: flex;
    gap: 24px;
    margin-bottom: 32px;
}

.leader-avatar {
    width: 96px;
    height: 96px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #FFFFFF;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.leader-info h3 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 4px;
}

.leader-info p {
    font-size: 16px;
    color: #64748B;
    margin-bottom: 16px;
}

.leader-contact {
    display: flex;
    gap: 16px;
}

.leader-contact a, .leader-contact span {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #4A90E2;
    font-size: 14px;
}

.department-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-bottom: 32px;
    padding: 24px;
    background-color: #F8FAFC;
    border-radius: 12px;
}

.stat {
    text-align: center;
}

.stat i {
    font-size: 24px;
    color: #4A90E2;
    margin-bottom: 8px;
}

.stat-value {
    display: block;
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 4px;
}

.stat-label {
    font-size: 14px;
    color: #64748B;
}

.department-skills {
    margin-top: 32px;
}

.department-skills h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 16px;
}

.skills-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.skill-tag {
    padding: 6px 12px;
    background-color: #F1F5F9;
    color: #1E293B;
    border-radius: 16px;
    font-size: 14px;
}

/* Collaboration View Styles */
.collaboration-section {
    background-color: #FFFFFF;
    border-radius: 12px;
    padding: 24px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.collaboration-tabs {
    display: flex;
    gap: 16px;
    margin-bottom: 24px;
}

.collab-tab {
    padding: 8px 16px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    color: #64748B;
    cursor: pointer;
    transition: all 0.2s ease;
}

.collab-tab:hover {
    background-color: #F1F5F9;
}

.collab-tab.active {
    background-color: #4A90E2;
    color: #FFFFFF;
}

.collaboration-heatmap {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 16px;
}

.collaboration-heatmap th {
    padding: 12px;
    text-align: left;
    font-size: 14px;
    font-weight: 600;
    color: #1E293B;
}

.collaboration-heatmap td {
    padding: 12px;
    text-align: center;
    font-size: 14px;
    color: #FFFFFF;
    text-transform: capitalize;
}

.collaboration-cell.high {
    background-color: #10B981;
}

.collaboration-cell.medium {
    background-color: #F59E0B;
}

.collaboration-cell.low {
    background-color: #EF4444;
}

.heatmap-legend {
    display: flex;
    justify-content: center;
    gap: 24px;
    margin-top: 16px;
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: #64748B;
}

.legend-item::before {
    content: '';
    width: 16px;
    height: 16px;
    border-radius: 4px;
}

.legend-item.high::before {
    background-color: #10B981;
}

.legend-item.medium::before {
    background-color: #F59E0B;
}

.legend-item.low::before {
    background-color: #EF4444;
}

.joint-projects {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
}

.project-card {
    background-color: #FFFFFF;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.project-name {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 16px;
}

.project-departments {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 16px;
}

.department-tag {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 4px 12px;
    border-radius: 16px;
    font-size: 12px;
    color: #FFFFFF;
}

.project-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
}

.project-dates {
    font-size: 14px;
    color: #64748B;
}

.separator {
    margin: 0 8px;
    color: #CBD5E1;
}

.status-badge {
    padding: 4px 12px;
    border-radius: 16px;
    font-size: 12px;
    font-weight: 500;
}

.status-badge.in-progress {
    background-color: #10B981;
    color: #FFFFFF;
}

.status-badge.planning {
    background-color: #F59E0B;
    color: #FFFFFF;
}

.project-progress {
    margin-top: 16px;
}

.progress-bar {
    height: 8px;
    background-color: #E2E8F0;
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 8px;
}

.progress {
    height: 100%;
    background-color: #4A90E2;
    border-radius: 4px;
    transition: width 0.3s ease;
}

.progress-text {
    font-size: 12px;
    color: #64748B;
}

/* Responsive Styles */
@media (max-width: 992px) {
    .department-cards {
        grid-template-columns: repeat(2, 1fr);
    }

    .joint-projects {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .department-search-filter {
        flex-direction: column;
    }

    .department-cards {
        grid-template-columns: 1fr;
    }

    .joint-projects {
        grid-template-columns: 1fr;
    }

    .department-stats {
        grid-template-columns: 1fr;
    }
}

/* Achievements Tab Styles */
.achievements-header {
    margin-bottom: 24px;
}

.achievements-filters {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
}

.filter-buttons {
    display: flex;
    gap: 8px;
}

.achievement-filter {
    padding: 8px 16px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    color: #64748B;
    background-color: #F1F5F9;
    cursor: pointer;
    transition: all 0.2s ease;
}

.achievement-filter:hover {
    background-color: #E2E8F0;
    color: #1E293B;
}

.achievement-filter.active {
    background-color: #4A90E2;
    color: #FFFFFF;
}

.achievement-search {
    position: relative;
    width: 300px;
}

.achievement-search input {
    width: 100%;
    padding: 10px 16px 10px 40px;
    border: 1px solid #E2E8F0;
    border-radius: 8px;
    font-size: 14px;
    outline: none;
    transition: border-color 0.2s ease;
}

.achievement-search input:focus {
    border-color: #4A90E2;
}

.achievement-search i {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: #64748B;
}

.timeline-toggle {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    color: #64748B;
    background-color: #F1F5F9;
    cursor: pointer;
    transition: all 0.2s ease;
}

.timeline-toggle:hover {
    background-color: #E2E8F0;
    color: #1E293B;
}

.timeline-toggle.active {
    background-color: #4A90E2;
    color: #FFFFFF;
}

/* Featured Achievement */
.featured-achievement {
    background-color: #FFFFFF;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    margin-bottom: 32px;
    display: flex;
}

.featured-achievement-image {
    width: 40%;
    position: relative;
}

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

.featured-overlay {
    position: absolute;
    top: 16px;
    left: 16px;
}

.achievement-category {
    padding: 4px 12px;
    border-radius: 16px;
    font-size: 12px;
    font-weight: 600;
    color: #FFFFFF;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.featured-achievement-content {
    width: 60%;
    padding: 32px;
}

.featured-achievement-content h2 {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 16px;
    color: #1E293B;
}

.achievement-meta {
    display: flex;
    gap: 16px;
    margin-bottom: 16px;
    font-size: 14px;
    color: #64748B;
}

.achievement-meta span {
    display: flex;
    align-items: center;
    gap: 6px;
}

.achievement-description {
    font-size: 16px;
    line-height: 1.6;
    color: #1E293B;
    margin-bottom: 16px;
}

.achievement-impact {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 500;
    color: #10B981;
}

/* Statistics Dashboard */
.statistics-dashboard {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 16px;
    margin-bottom: 32px;
}

.stat-card {
    background-color: #FFFFFF;
    border-radius: 12px;
    padding: 24px;
    text-align: center;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.stat-card i {
    font-size: 24px;
    color: #4A90E2;
    margin-bottom: 12px;
}

.stat-value {
    display: block;
    font-size: 24px;
    font-weight: 600;
    color: #1E293B;
    margin-bottom: 8px;
}

.stat-label {
    font-size: 14px;
    color: #64748B;
}

/* Achievement Categories */
.achievement-categories {
    display: grid;
    gap: 24px;
}

.achievement-category {
    background-color: #FFFFFF;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.category-header {
    padding: 16px 24px;
    color: #FFFFFF;
    display: flex;
    align-items: center;
    gap: 12px;
}

.category-header i {
    font-size: 24px;
}

.category-header h3 {
    font-size: 18px;
    font-weight: 600;
    margin: 0;
}

.achievement-cards {
    padding: 24px;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 24px;
}

.achievement-card {
    background-color: #FFFFFF;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.achievement-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 12px rgba(0, 0, 0, 0.1);
}

.achievement-image {
    height: 200px;
    overflow: hidden;
}

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

.achievement-content {
    padding: 20px;
    flex: 1;
}

.achievement-content h4 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 12px;
    color: #1E293B;
}

/* Achievement Timeline */
.achievement-timeline {
    display: none;
    background-color: #FFFFFF;
    border-radius: 12px;
    padding: 32px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.timeline-track {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.timeline-period {
    position: relative;
    padding-left: 24px;
}

.timeline-period::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 2px;
    background-color: #E2E8F0;
}

.period-header {
    margin-bottom: 16px;
}

.period-header .year {
    font-size: 20px;
    font-weight: 600;
    color: #1E293B;
    margin-right: 8px;
}

.period-header .quarter {
    font-size: 16px;
    color: #64748B;
}

.period-achievements {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.timeline-achievement {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    background-color: #F8FAFC;
    border-radius: 8px;
}

.timeline-achievement i {
    color: #4A90E2;
}

.timeline-achievement span {
    font-size: 14px;
    color: #1E293B;
}

/* No Results Message */
.no-achievements-results {
    display: none;
    text-align: center;
    padding: 48px;
    background-color: #FFFFFF;
    border-radius: 12px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.no-achievements-results i {
    font-size: 48px;
    color: #CBD5E1;
    margin-bottom: 16px;
}

.no-achievements-results h3 {
    font-size: 20px;
    font-weight: 600;
    color: #64748B;
    margin-bottom: 8px;
}

.no-achievements-results p {
    font-size: 14px;
    color: #94A3B8;
}

/* Responsive Styles */
@media (max-width: 992px) {
    .featured-achievement {
        flex-direction: column;
    }

    .featured-achievement-image,
    .featured-achievement-content {
        width: 100%;
    }

    .statistics-dashboard {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .achievements-filters {
        flex-direction: column;
        gap: 16px;
    }

    .achievement-search {
        width: 100%;
    }

    .statistics-dashboard {
        grid-template-columns: repeat(2, 1fr);
    }

    .achievement-cards {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 576px) {
    .statistics-dashboard {
        grid-template-columns: 1fr;
    }

    .filter-buttons {
        flex-wrap: wrap;
    }
}

/* Team Directory Styles */
.team-header {
    margin-bottom: 24px;
}

.team-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 24px;
}

.team-search {
    flex: 1;
    min-width: 300px;
    position: relative;
}

.team-search input {
    width: 100%;
    padding: 12px 16px 12px 40px;
    border: 1px solid #E2E8F0;
    border-radius: 8px;
    font-size: 14px;
    outline: none;
    transition: border-color 0.2s ease;
}

.team-search input:focus {
    border-color: #4A90E2;
}

.team-search i {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: #64748B;
}

.filter-group {
    display: flex;
    gap: 8px;
}

.department-filter,
.level-filter,
.location-filter {
    padding: 10px 16px;
    border: 1px solid #E2E8F0;
    border-radius: 8px;
    font-size: 14px;
    color: #1E293B;
    background-color: #FFFFFF;
    outline: none;
    cursor: pointer;
    transition: border-color 0.2s ease;
}

.department-filter:focus,
.level-filter:focus,
.location-filter:focus {
    border-color: #4A90E2;
}

.view-toggle {
    display: flex;
    gap: 4px;
}

.view-btn {
    padding: 8px 16px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    color: #64748B;
    background-color: #F1F5F9;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.view-btn:hover {
    background-color: #E2E8F0;
    color: #1E293B;
}

.view-btn.active {
    background-color: #4A90E2;
    color: #FFFFFF;
}

/* Skills Filter */
.skills-filter {
    width: 100%;
    background-color: #FFFFFF;
    border-radius: 12px;
    padding: 16px;
    margin-bottom: 24px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.skill-category {
    margin-bottom: 16px;
}

.skill-category h4 {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 8px;
    color: #1E293B;
}

.skill-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.skill-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 12px;
    background-color: #F1F5F9;
    border-radius: 16px;
    font-size: 12px;
    color: #1E293B;
    cursor: pointer;
    transition: all 0.2s ease;
}

.skill-tag:hover {
    background-color: #E2E8F0;
}

.skill-tag input[type="checkbox"] {
    display: none;
}

.skill-tag input[type="checkbox"]:checked + span {
    color: #4A90E2;
    font-weight: 500;
}

/* Team Grid */
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 24px;
}

.team-grid.list-view {
    grid-template-columns: 1fr;
}

.employee-card {
    background-color: #FFFFFF;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.employee-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
}

.employee-header {
    height: 48px;
    position: relative;
}

.employee-status {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 2px solid #FFFFFF;
}

.status-available {
    background-color: #10B981;
}

.status-away {
    background-color: #F59E0B;
}

.status-busy {
    background-color: #EF4444;
}

.status-in-meeting {
    background-color: #8B5CF6;
}

.status-offline {
    background-color: #94A3B8;
}

.employee-content {
    padding: 20px;
    display: flex;
    gap: 16px;
}

.employee-avatar {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid #FFFFFF;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

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

.employee-info {
    flex: 1;
}

.employee-name {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 4px;
    color: #1E293B;
}

.employee-title {
    font-size: 14px;
    color: #64748B;
    margin-bottom: 8px;
}

.employee-meta {
    display: flex;
    gap: 12px;
    font-size: 12px;
    color: #64748B;
}

.employee-meta span {
    display: flex;
    align-items: center;
    gap: 4px;
}

.employee-actions {
    display: flex;
    gap: 8px;
}

.action-btn {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #64748B;
    background-color: #F1F5F9;
    cursor: pointer;
    transition: all 0.2s ease;
}

.action-btn:hover {
    background-color: #E2E8F0;
    color: #4A90E2;
}

.employee-skills {
    padding: 12px 20px;
    border-top: 1px solid #E2E8F0;
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.employee-skills .skill-tag {
    font-size: 12px;
    padding: 2px 8px;
    background-color: #F1F5F9;
    border-radius: 12px;
    color: #64748B;
}

.more-skills {
    font-size: 12px;
    color: #4A90E2;
    cursor: pointer;
}

/* List View Styles */
.team-grid.list-view .employee-card {
    display: flex;
    align-items: center;
}

.team-grid.list-view .employee-header {
    width: 8px;
    height: auto;
}

.team-grid.list-view .employee-content {
    flex: 1;
    padding: 16px;
}

.team-grid.list-view .employee-avatar {
    width: 48px;
    height: 48px;
}

.team-grid.list-view .employee-info {
    display: flex;
    align-items: center;
    gap: 24px;
}

.team-grid.list-view .employee-name-title {
    flex: 1;
}

.team-grid.list-view .employee-meta {
    margin-left: auto;
    margin-right: 24px;
}

.team-grid.list-view .employee-skills {
    border-top: none;
    border-left: 1px solid #E2E8F0;
    padding: 16px 24px;
}

/* Employee Profile Modal */
.employee-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 2000;
    display: none;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.employee-modal.active {
    opacity: 1;
    visibility: visible;
}

.employee-profile {
    width: 90%;
    max-width: 800px;
    max-height: 90vh;
    background-color: #FFFFFF;
    border-radius: 12px;
    overflow-y: auto;
    position: relative;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
    animation: modalFadeIn 0.3s ease forwards;
}

.profile-header {
    padding: 32px;
    color: #FFFFFF;
}

.profile-basics {
    display: flex;
    gap: 24px;
    margin-bottom: 24px;
}

.profile-avatar {
    width: 96px;
    height: 96px;
    border-radius: 50%;
    border: 3px solid #FFFFFF;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.profile-info h2 {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 8px;
}

.profile-title {
    font-size: 16px;
    margin-bottom: 12px;
    opacity: 0.9;
}

.profile-meta {
    display: flex;
    gap: 16px;
    font-size: 14px;
}

.profile-actions {
    display: flex;
    gap: 12px;
}

.profile-actions .action-btn {
    padding: 8px 16px;
    background-color: rgba(255, 255, 255, 0.2);
    color: #FFFFFF;
    border-radius: 8px;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    transition: background-color 0.2s ease;
}

.profile-actions .action-btn:hover {
    background-color: rgba(255, 255, 255, 0.3);
}

.profile-body {
    padding: 32px;
}

.profile-section {
    margin-bottom: 32px;
}

.profile-section h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 16px;
    color: #1E293B;
}

.contact-details {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 16px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    background-color: #F8FAFC;
    border-radius: 8px;
}

.contact-item i {
    color: #4A90E2;
}

.skills-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.reporting-structure {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 24px;
}

.reports-to h4,
.direct-reports h4 {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 12px;
    color: #64748B;
}

.employee-mini-card {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    background-color: #F8FAFC;
    border-radius: 8px;
}

.employee-mini-card img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
}

.mini-card-info .name {
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 4px;
}

.mini-card-info .title {
    font-size: 12px;
    color: #64748B;
}

.direct-reports-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 12px;
}

.additional-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 16px;
}

.info-item {
    padding: 12px;
    background-color: #F8FAFC;
    border-radius: 8px;
}

.info-item .label {
    font-size: 12px;
    color: #64748B;
    margin-bottom: 4px;
    display: block;
}

.info-item .value {
    font-size: 14px;
    font-weight: 500;
    color: #1E293B;
}

.social-links {
    display: flex;
    gap: 12px;
}

.social-link {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background-color: #F8FAFC;
    border-radius: 8px;
    color: #1E293B;
    text-decoration: none;
    font-size: 14px;
    transition: all 0.2s ease;
}

.social-link:hover {
    background-color: #E2E8F0;
    color: #4A90E2;
}

/* No Results Message */
.no-team-results {
    display: none;
    text-align: center;
    padding: 48px;
    background-color: #FFFFFF;
    border-radius: 12px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.no-team-results i {
    font-size: 48px;
    color: #CBD5E1;
    margin-bottom: 16px;
}

.no-team-results h3 {
    font-size: 20px;
    font-weight: 600;
    color: #64748B;
    margin-bottom: 8px;
}

.no-team-results p {
    font-size: 14px;
    color: #94A3B8;
}

/* Responsive Styles */
@media (max-width: 992px) {
    .team-filters {
        flex-direction: column;
    }

    .team-search {
        width: 100%;
    }

    .filter-group {
        width: 100%;
        justify-content: space-between;
    }

    .department-filter,
    .level-filter,
    .location-filter {
        flex: 1;
    }

    .profile-basics {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

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

    .profile-actions {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .team-grid {
        grid-template-columns: 1fr;
    }

    .contact-details {
        grid-template-columns: 1fr;
    }

    .reporting-structure {
        grid-template-columns: 1fr;
    }

    .direct-reports-grid {
        grid-template-columns: 1fr;
    }

    .additional-info {
        grid-template-columns: 1fr;
    }

    .social-links {
        flex-wrap: wrap;
    }
}

/* Teams & Community Section Styles */