/* Subdomain Header */
.subdomain-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 40px;
    border-bottom: 1px solid #e0e0e0;
    background: white;
}

.header-left {
    display: flex;
    align-items: center;
    gap: 20px;
}

.subdomain-logo {
    font-size: 28px;
    font-weight: bold;
    text-decoration: none;
    letter-spacing: -1px;
}

.logo-search { color: #1a73e8; }
.logo-inactive { color: #999; }

.section-label {
    background: #1a73e8;
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
}

/* Navigation */
.subdomain-nav {
    display: flex;
    justify-content: center;
    gap: 10px;
    padding: 15px;
    background: #f8f9fa;
    border-bottom: 1px solid #e0e0e0;
}

.nav-item {
    padding: 10px 20px;
    text-decoration: none;
    color: #666;
    border-radius: 25px;
    transition: all 0.3s;
    font-size: 14px;
}

.nav-item:hover {
    background: #e8f0fe;
    color: #1a73e8;
}

.nav-item.active {
    background: #1a73e8;
    color: white;
}

/* Main Content */
.subdomain-main {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
    min-height: 60vh;
}

/* Search Hero */
.search-hero {
    text-align: center;
    padding: 60px 20px;
    background: linear-gradient(135deg, #e8f0fe 0%, #f8f9fa 100%);
    border-radius: 10px;
    margin-bottom: 40px;
}

.search-hero h1 {
    font-size: 42px;
    color: #202124;
    margin-bottom: 30px;
}

.search-box-large {
    display: flex;
    gap: 10px;
    max-width: 800px;
    margin: 0 auto;
    flex-wrap: wrap;
    justify-content: center;
}

.search-box-large input {
    flex: 1;
    min-width: 200px;
    padding: 15px 20px;
    border: 2px solid #dadce0;
    border-radius: 30px;
    font-size: 16px;
    outline: none;
}

.search-box-large input:focus {
    border-color: #1a73e8;
}

.search-btn {
    padding: 15px 40px;
    background: #1a73e8;
    color: white;
    border: none;
    border-radius: 30px;
    font-size: 16px;
    cursor: pointer;
    transition: background 0.3s;
}

.search-btn:hover {
    background: #1557b0;
}

/* Quick Links */
.quick-links h2 {
    margin-bottom: 20px;
    color: #202124;
}

.quick-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
}

.quick-card {
    background: white;
    border: 1px solid #dadce0;
    border-radius: 10px;
    padding: 25px;
    text-decoration: none;
    color: inherit;
    transition: all 0.3s;
}

.quick-card:hover {
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    transform: translateY(-2px);
    border-color: #1a73e8;
}

.quick-card h3 {
    color: #1a73e8;
    margin-bottom: 10px;
}

.quick-card p {
    color: #666;
    font-size: 14px;
}

/* Featured Jobs */
.featured-jobs h2 {
    margin-bottom: 20px;
    color: #202124;
}

.job-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.job-card {
    background: white;
    border: 1px solid #dadce0;
    border-radius: 10px;
    padding: 25px;
    transition: box-shadow 0.3s;
}

.job-card:hover {
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.job-card h3 {
    color: #202124;
    margin-bottom: 5px;
}

.company {
    color: #1a73e8;
    font-weight: 600;
    margin-bottom: 10px;
}

.location, .salary {
    color: #666;
    font-size: 14px;
    margin-bottom: 5px;
}

.apply-btn {
    margin-top: 15px;
    padding: 10px 25px;
    background: #1a73e8;
    color: white;
    border: none;
    border-radius: 20px;
    cursor: pointer;
    transition: background 0.3s;
}

.apply-btn:hover {
    background: #1557b0;
}

/* Apply Jobs Page Specific */
.page-header {
    text-align: center;
    margin-bottom: 30px;
}

.page-header h1 {
    font-size: 36px;
    color: #202124;
    margin-bottom: 10px;
}

.page-header p {
    color: #666;
}

.filters-bar {
    display: flex;
    gap: 10px;
    margin-bottom: 30px;
    flex-wrap: wrap;
    background: #f8f9fa;
    padding: 20px;
    border-radius: 10px;
}

.filter-input, .filter-select {
    flex: 1;
    min-width: 150px;
    padding: 12px 15px;
    border: 1px solid #dadce0;
    border-radius: 8px;
    font-size: 14px;
}

.filter-btn {
    padding: 12px 30px;
    background: #1a73e8;
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
}

.job-listing {
    background: white;
    border: 1px solid #dadce0;
    border-radius: 10px;
    padding: 25px;
    margin-bottom: 20px;
    transition: box-shadow 0.3s;
}

.job-listing:hover {
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.job-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.job-header h3 {
    color: #202124;
    font-size: 20px;
}

.job-badge {
    background: #34a853;
    color: white;
    padding: 5px 12px;
    border-radius: 15px;
    font-size: 12px;
    font-weight: 600;
}

.job-badge.contract {
    background: #fbbc04;
    color: #202124;
}

.company-name {
    color: #1a73e8;
    font-weight: 600;
    margin-bottom: 10px;
}

.job-details {
    display: flex;
    gap: 20px;
    margin-bottom: 15px;
    color: #666;
    font-size: 14px;
}

.job-description {
    color: #666;
    margin-bottom: 15px;
    line-height: 1.5;
}

.job-actions {
    display: flex;
    gap: 10px;
}

.btn-primary {
    padding: 10px 25px;
    background: #1a73e8;
    color: white;
    border: none;
    border-radius: 20px;
    cursor: pointer;
    transition: background 0.3s;
}

.btn-primary:hover {
    background: #1557b0;
}

.btn-secondary {
    padding: 10px 25px;
    background: white;
    color: #1a73e8;
    border: 1px solid #1a73e8;
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-secondary:hover {
    background: #e8f0fe;
}

/* Pagination */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin-top: 40px;
}

.page-btn {
    padding: 10px 20px;
    background: white;
    border: 1px solid #dadce0;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s;
}

.page-btn:hover {
    background: #f8f9fa;
}

.page-number {
    padding: 10px 15px;
    cursor: pointer;
    border-radius: 8px;
    transition: all 0.3s;
}

.page-number:hover {
    background: #f8f9fa;
}

.page-number.active {
    background: #1a73e8;
    color: white;
}

.page-dots {
    color: #666;
}

/* Footer */
.subdomain-footer {
    border-top: 1px solid #e0e0e0;
    padding: 20px;
    text-align: center;
    color: #666;
    font-size: 14px;
    background: #f8f9fa;
}

.subdomain-footer .footer-links {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-top: 10px;
}

.subdomain-footer .footer-links a {
    color: #666;
    text-decoration: none;
}

.subdomain-footer .footer-links a:hover {
    text-decoration: underline;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .subdomain-header {
        padding: 15px 20px;
    }
    
    .subdomain-logo {
        font-size: 22px;
    }
    
    .subdomain-nav {
        flex-wrap: wrap;
        gap: 5px;
    }
    
    .nav-item {
        padding: 8px 15px;
        font-size: 12px;
    }
    
    .search-box-large {
        flex-direction: column;
    }
    
    .search-box-large input,
    .search-btn {
        width: 100%;
    }
    
    .filters-bar {
        flex-direction: column;
    }
    
    .filter-input,
    .filter-select,
    .filter-btn {
        width: 100%;
    }
}