/* Company Profile Styles */

.sjb-company-profile,
.sjb-company-directory {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

/* Company Header */
.sjb-company-header {
    display: flex;
    align-items: center;
    gap: 24px;
    padding: 30px;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    margin-bottom: 30px;
}

.sjb-company-logo {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 48px;
    font-weight: 700;
    color: #fff;
    flex-shrink: 0;
}

.sjb-company-info h1 {
    margin: 0 0 12px;
    font-size: 32px;
    color: #111827;
}

.sjb-company-stats {
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
    font-size: 14px;
    color: #6b7280;
}

.sjb-company-stats span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.sjb-company-stats span::before {
    content: "•";
    color: #1976d2;
    font-size: 20px;
}

/* Company Jobs Section */
.sjb-company-jobs {
    margin-top: 30px;
}

.sjb-company-jobs h2 {
    margin: 0 0 20px;
    font-size: 24px;
    color: #111827;
}

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

.sjb-job-card {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 20px;
    transition: all 0.2s;
}

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

.sjb-job-card h3 {
    margin: 0 0 12px;
    font-size: 18px;
}

.sjb-job-card h3 a {
    color: #111827;
    text-decoration: none;
}

.sjb-job-card h3 a:hover {
    color: #1976d2;
}

.sjb-job-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 12px;
    font-size: 14px;
    color: #6b7280;
}

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

.sjb-job-meta .dashicons {
    font-size: 16px;
    width: 16px;
    height: 16px;
}

.sjb-job-excerpt {
    color: #4b5563;
    line-height: 1.6;
    margin-bottom: 16px;
    font-size: 14px;
}

.sjb-job-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 16px;
    border-top: 1px solid #f3f4f6;
}

.sjb-job-stats {
    display: flex;
    gap: 12px;
    font-size: 13px;
    color: #9ca3af;
}

/* Company Directory Grid */
.sjb-company-directory h2 {
    margin: 0 0 24px;
    font-size: 28px;
    color: #111827;
}

.sjb-company-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
}

.sjb-company-card {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 24px;
    display: flex;
    align-items: center;
    gap: 16px;
    transition: all 0.2s;
}

.sjb-company-card:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transform: translateY(-2px);
}

.sjb-company-logo-sm {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    font-weight: 700;
    color: #fff;
    flex-shrink: 0;
}

.sjb-company-details {
    flex: 1;
}

.sjb-company-details h3 {
    margin: 0 0 6px;
    font-size: 18px;
}

.sjb-company-details h3 a {
    color: #111827;
    text-decoration: none;
}

.sjb-company-details h3 a:hover {
    color: #1976d2;
}

.sjb-company-details .sjb-small {
    color: #6b7280;
    font-size: 14px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .sjb-company-header {
        flex-direction: column;
        text-align: center;
        padding: 20px;
    }
    
    .sjb-company-logo {
        width: 80px;
        height: 80px;
        font-size: 36px;
    }
    
    .sjb-company-info h1 {
        font-size: 24px;
    }
    
    .sjb-company-stats {
        justify-content: center;
    }
    
    .sjb-job-list {
        grid-template-columns: 1fr;
    }
    
    .sjb-company-grid {
        grid-template-columns: 1fr;
    }
    
    .sjb-job-footer {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
}

/* Loading States */
.sjb-loading {
    text-align: center;
    padding: 40px;
    color: #9ca3af;
}

.sjb-loading::after {
    content: "";
    display: inline-block;
    width: 24px;
    height: 24px;
    border: 3px solid #f3f4f6;
    border-top-color: #1976d2;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Empty States */
.sjb-empty-state {
    text-align: center;
    padding: 60px 20px;
    background: #f9fafb;
    border-radius: 12px;
    color: #6b7280;
}

.sjb-empty-state p {
    margin: 0;
    font-size: 16px;
}
