/* Company Page Styles - LocalCareers */
/* 1:1 replica of employers.io/company design */

*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    overflow-x: hidden;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
    line-height: 1.5;
    color: #1a1a1a;
    background: #fff;
    overflow-x: hidden;
    width: 100%;
}

a {
    color: inherit;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

/* Header */
.company-header {
    background: #fff;
    padding: 2px 24px;
    display: flex;
    justify-content: center;
    border-bottom: 1px solid #e5e7eb;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

.company-header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    max-width: 1200px;
}

.company-header-logo img {
    height: 56px;
    width: auto;
}

.company-header-logo {
    font-size: 20px;
    font-weight: 700;
    color: #2563eb;
}

.company-header-nav {
    display: flex;
    align-items: center;
    gap: 24px;
}

.company-header-nav a {
    color: #374151;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    transition: color 0.2s;
}

.company-header-nav a:hover {
    color: #2563eb;
    text-decoration: none;
}

.company-header-nav a.company-header-signin {
    background: #2563eb;
    color: #fff;
    padding: 8px 16px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
}

.company-header-nav a.company-header-signin:hover {
    background: #1d4ed8;
    color: #fff;
    text-decoration: none;
}

.company-header-mobile {
    display: none;
    align-items: center;
    gap: 12px;
}

.company-header-signin-mobile {
    background: #2563eb;
    color: #fff;
    padding: 8px 16px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
}

.company-header-signin-mobile:hover {
    background: #1d4ed8;
    color: #fff;
    text-decoration: none;
}

.company-header-menu {
    display: flex;
    background: transparent;
    border: none;
    padding: 8px;
    cursor: pointer;
    align-items: center;
    justify-content: center;
}

.company-header-menu svg {
    width: 24px;
    height: 24px;
    color: #374151;
}

.company-header-menu .menu-icon-close {
    display: none;
}

.company-header.menu-open .menu-icon-hamburger {
    display: none;
}

.company-header.menu-open .menu-icon-close {
    display: block;
}

/* Mobile Menu Overlay */
.mobile-menu-overlay {
    display: none;
    position: fixed;
    top: 61px;
    left: 0;
    right: 0;
    bottom: 0;
    background: #fff;
    z-index: 999;
    padding: 24px;
    overflow-y: auto;
}

.mobile-menu-overlay.active {
    display: block;
}

.mobile-menu-nav {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.mobile-menu-nav a {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px;
    color: #1a1a1a;
    font-size: 18px;
    font-weight: 500;
    text-decoration: none;
    border-radius: 8px;
    transition: background 0.2s;
}

.mobile-menu-nav a:hover {
    background: #f3f4f6;
    text-decoration: none;
}

.mobile-menu-nav a svg {
    width: 24px;
    height: 24px;
    color: #6b7280;
    flex-shrink: 0;
}

body.mobile-menu-open {
    overflow: hidden;
}

/* Search Section - White background */
.company-search-section {
    background: #fff;
    padding: 16px 24px;
    border-top: 1px solid #e5e7eb;
    border-bottom: 1px solid #e5e7eb;
}

.company-search-inner {
    max-width: 1000px;
    margin: 0 auto;
    text-align: center;
}

.company-search-box {
    display: flex;
    align-items: center;
    gap: 16px;
}

.company-search-input-wrapper {
    flex: 1;
    display: flex;
    align-items: center;
    background: #fff;
    border-radius: 50px;
    border: 1px solid #d1d5db;
    padding: 0 20px;
}

.company-search-input-wrapper svg {
    width: 20px;
    height: 20px;
    color: #9ca3af;
    flex-shrink: 0;
}

.company-search-input {
    flex: 1;
    padding: 10px 12px;
    border: none;
    font-size: 16px;
    outline: none;
    background: transparent;
}

.company-search-input::placeholder {
    color: #9ca3af;
}

.company-search-btn {
    background: #2563eb;
    color: #fff;
    border: none;
    padding: 10px 24px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s;
    border-radius: 50px;
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}

.company-search-btn:hover {
    background: #1d4ed8;
}

.company-search-btn svg {
    width: 16px;
    height: 16px;
}

.company-hero-title {
    color: #1a1a1a;
    font-size: 32px;
    font-weight: 400;
    text-align: left;
    letter-spacing: -0.3px;
    max-width: 1100px;
    margin: 16px auto;
    padding: 0;
}

/* Main Content - Single column, no sidebar */
.company-main {
    background: #eff6ff;
    padding: 32px 24px;
}

.company-main-inner {
    max-width: 1100px;
    margin: 0 auto;
}

/* Company Cards Container */
.company-cards {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* Filter Indicator */
.company-filter-indicator {
    background: #f3f4f6;
    padding: 8px 16px;
    border-radius: 6px;
    font-size: 14px;
    color: #6b7280;
    margin-bottom: 8px;
    display: none;
}

.company-filter-indicator.active {
    display: block;
}

/* Company Card */
.company-card {
    background: #fff;
    border-radius: 16px;
    padding: 24px 32px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
    border: 1px solid #e5e7eb;
}

.company-card-top {
    display: flex;
    align-items: flex-start;
    gap: 20px;
}

.company-card-logo {
    width: 80px;
    height: 80px;
    border-radius: 8px;
    overflow: hidden;
    flex-shrink: 0;
    background: #fff;
    border: 1px solid #9ca3af;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8px;
}

.company-card-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.company-card-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 140px;
}

.company-card-name {
    font-size: 18px;
    font-weight: 600;
    color: #1a1a1a;
}

.company-card-rating {
    display: flex;
    align-items: center;
    gap: 6px;
}

.company-card-rating-num {
    font-size: 15px;
    font-weight: 600;
    color: #2563eb;
}

.company-card-stars {
    display: flex;
    gap: 1px;
    color: #2563eb;
    font-size: 14px;
}

.company-card-stars .empty {
    color: #d1d5db;
}

.company-card-badge {
    color: #6b7280;
    font-size: 14px;
    font-weight: 500;
}

/* Company Card Tabs */
.company-card-tabs {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-left: auto;
}

.company-card-tab {
    background: #f3f4f6;
    color: #374151;
    padding: 24px 16px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 500;
    text-align: center;
    min-width: 70px;
    transition: all 0.2s;
}

.company-card-tab:hover {
    background: #e5e7eb;
    text-decoration: none;
}

/* Company Card Bottom */
.company-card-bottom {
    display: flex;
    gap: 32px;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #f3f4f6;
}

/* Company Card Description */
.company-card-description {
    width: 700px;
    flex-shrink: 0;
    color: #4b5563;
    font-size: 14px;
    line-height: 1.6;
}

.company-card-description:hover {
    text-decoration: none;
}

.company-card-description strong {
    display: block;
    color: #1a1a1a;
    font-weight: 600;
    margin-bottom: 8px;
}

.company-card-description p {
    margin: 0;
    color: #6b7280;
}

/* Company Card Meta */
.company-card-meta {
    display: flex;
    flex-direction: column;
    gap: 16px;
    min-width: 180px;
    padding-left: 32px;
    border-left: 1px solid #e5e7eb;
}

.company-card-meta-item {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.company-card-meta-label {
    font-size: 14px;
    color: #2563eb;
    font-weight: 500;
}

.company-card-meta-value {
    font-size: 14px;
    color: #1a1a1a;
    font-weight: 500;
}

/* Footer */
.company-footer {
    background: #1f2937;
    padding: 40px 24px 24px;
    margin-top: 60px;
}

.company-footer-inner {
    max-width: 1000px;
    margin: 0 auto;
}

/* Social Icons Row */
.company-footer-social {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-bottom: 28px;
}

.company-footer-social a {
    width: 40px;
    height: 40px;
    background: #374151;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
}

.company-footer-social a:hover {
    background: #4b5563;
}

.company-footer-social img {
    width: 20px;
    height: 20px;
}

/* Footer Links - 4 Column Layout */
.company-footer-columns {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
    max-width: 900px;
    margin: 0 auto 24px;
    padding: 0 24px;
}

.company-footer-column {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.company-footer-column a {
    color: #9ca3af;
    font-size: 14px;
    transition: color 0.2s;
}

.company-footer-column a:hover {
    color: #fff;
    text-decoration: none;
}

.company-footer-divider {
    border: none;
    border-top: 1px solid #374151;
    margin: 24px 0;
}

/* Footer Bottom - Centered */
.company-footer-bottom {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    text-align: center;
}

.company-footer-logo img {
    height: 48px;
    width: auto;
}

.company-footer-logo {
    font-size: 18px;
    font-weight: 700;
    color: #fff;
}

.company-footer-copyright {
    color: #9ca3af;
    font-size: 13px;
}

/* Responsive */
@media (max-width: 768px) {
    .company-header-nav {
        display: none;
    }

    .company-header-mobile {
        display: flex;
    }

    .company-hero-title {
        font-size: 22px;
    }

    .company-search-box {
        flex-direction: column;
        gap: 12px;
    }

    .company-search-input-wrapper {
        width: 100%;
    }

    .company-search-btn {
        width: 100%;
        justify-content: center;
    }

    .company-card-top {
        flex-direction: column;
    }

    .company-card-tabs {
        margin-left: 0;
    }

    .company-card-tab {
        padding: 12px 10px;
        min-width: 60px;
    }

    .company-card-bottom {
        flex-direction: column;
        gap: 20px;
    }

    .company-card-meta {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 20px;
    }

    .company-footer-bottom {
        flex-direction: column;
        text-align: center;
    }

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