/**
 * Company Sub-Pages Styles - LocalCareers
 * Shared styles for reviews, salaries, dress-code, drug-test, hiring-process pages
 */

/* Section Date */
.section-date {
    color: #6b7280;
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
}

/* Reviews Grid */
.reviews-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

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

.reviews-box {
    background: white;
    border-radius: 12px;
    padding: 1.5rem;
    border: 1px solid #e5e7eb;
}

.reviews-box.ai-summary {
    grid-column: span 2;
}

@media (max-width: 768px) {
    .reviews-box.ai-summary {
        grid-column: span 1;
    }
}

/* Reviews List */
.reviews-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 2rem;
}

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

.review-card {
    background: white;
    border-radius: 12px;
    padding: 1.25rem;
    border: 1px solid #e5e7eb;
}

.review-header {
    margin-bottom: 0.75rem;
}

.review-date {
    display: block;
    color: #6b7280;
    font-size: 0.85rem;
    margin-bottom: 0.5rem;
}

.review-rating {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.25rem;
}

.review-rating .rating-num {
    font-size: 0.9rem;
    color: #111827;
}

.review-rating .stars {
    color: #fbbf24;
}

.review-job {
    color: #6b7280;
    font-size: 0.9rem;
}

.review-content h4 {
    font-size: 1rem;
    font-weight: 600;
    margin: 0 0 0.5rem 0;
    color: #111827;
}

.review-content p {
    color: #4b5563;
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0;
}

/* Reviews by Location */
.reviews-by-location {
    margin-top: 2rem;
}

.reviews-by-location h2 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #111827;
}

.location-table {
    width: 100%;
    background: white;
    border-radius: 12px;
    border: 1px solid #e5e7eb;
    border-collapse: collapse;
    overflow: hidden;
}

.location-table th,
.location-table td {
    padding: 1rem;
    text-align: left;
    border-bottom: 1px solid #e5e7eb;
}

.location-table th {
    background: #f9fafb;
    font-weight: 600;
    color: #111827;
}

.location-table td .stars {
    color: #fbbf24;
}

.location-table td .stars.small {
    font-size: 0.85rem;
}

/* Salaries Page */
.salary-hero {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    border: 1px solid #e5e7eb;
    text-align: center;
    margin-bottom: 2rem;
}

.salary-hero-amount {
    font-size: 3rem;
    font-weight: 700;
    color: #111827;
}

.salary-hero-period {
    font-size: 1.5rem;
    color: #6b7280;
}

.salary-hero-description {
    color: #4b5563;
    margin: 1rem 0;
    line-height: 1.6;
}

.salary-range-bar {
    display: flex;
    justify-content: space-around;
    padding-top: 1.5rem;
    border-top: 1px solid #e5e7eb;
    margin-top: 1.5rem;
}

.salary-range-item {
    text-align: center;
}

.salary-range-item.highlight .salary-value {
    color: #1d4ed8;
}

.salary-label {
    font-size: 0.85rem;
    color: #6b7280;
    margin-bottom: 0.25rem;
}

.salary-value {
    font-size: 1.25rem;
    font-weight: 600;
    color: #111827;
}

/* Salary Table */
.salary-table {
    width: 100%;
    background: white;
    border-radius: 12px;
    border: 1px solid #e5e7eb;
    border-collapse: collapse;
    overflow: hidden;
    margin-bottom: 2rem;
}

.salary-table th,
.salary-table td {
    padding: 1rem;
    text-align: left;
    border-bottom: 1px solid #e5e7eb;
}

.salary-table th {
    background: #f9fafb;
    font-weight: 600;
    color: #111827;
}

.salary-table td {
    color: #4b5563;
}

.salary-table td:first-child {
    color: #1d4ed8;
    font-weight: 500;
}

/* FAQ Section */
.faq-section {
    margin-top: 2rem;
}

.faq-section h2 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #111827;
}

.faq-list {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.faq-item {
    background: #1d4ed8;
    color: white;
    padding: 1rem 1.25rem;
    border-radius: 8px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-weight: 500;
}

.faq-item:hover {
    background: #1e40af;
}

.faq-item svg {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

/* Dress Code Page */
.dress-code-intro {
    color: #4b5563;
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.dress-code-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.dress-code-tab {
    padding: 0.75rem 1.25rem;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    background: white;
    cursor: pointer;
    font-size: 0.9rem;
    transition: all 0.2s;
}

.dress-code-tab:hover,
.dress-code-tab.active {
    background: #1d4ed8;
    color: white;
    border-color: #1d4ed8;
}

.dress-code-content {
    background: white;
    border-radius: 12px;
    padding: 1.5rem;
    border: 1px solid #e5e7eb;
}

.dress-code-item {
    margin-bottom: 1rem;
}

.dress-code-item:last-child {
    margin-bottom: 0;
}

.dress-code-label {
    font-weight: 600;
    color: #111827;
    margin-bottom: 0.25rem;
}

.dress-code-value {
    color: #4b5563;
    line-height: 1.6;
}

/* Drug Test Page */
.quick-facts {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    background: white;
    border-radius: 12px;
    padding: 1.5rem;
    border: 1px solid #e5e7eb;
    margin-bottom: 2rem;
}

@media (max-width: 600px) {
    .quick-facts {
        grid-template-columns: 1fr;
    }
}

.quick-fact {
    padding: 0.5rem;
}

.quick-fact-label {
    color: #6b7280;
    font-size: 0.9rem;
    margin-bottom: 0.25rem;
}

.quick-fact-value {
    font-weight: 600;
    color: #111827;
}

.quick-fact-value.yes {
    color: #059669;
}

.quick-fact-value.warning {
    color: #d97706;
}

.quick-fact-value.no {
    color: #dc2626;
}

.info-cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin-bottom: 2rem;
}

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

.info-card {
    background: white;
    border-radius: 12px;
    padding: 1.25rem;
    border: 1px solid #e5e7eb;
}

.info-card h3 {
    font-size: 1rem;
    font-weight: 600;
    color: #111827;
    margin: 0 0 0.5rem 0;
}

.info-card p {
    color: #4b5563;
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0;
}

.info-card ul {
    margin: 0;
    padding-left: 1.25rem;
    color: #4b5563;
}

.info-card li {
    margin-bottom: 0.25rem;
}

/* Hiring Process Page */
.hiring-overview {
    background: white;
    border-radius: 12px;
    padding: 1.5rem;
    border: 1px solid #e5e7eb;
    margin-bottom: 2rem;
}

.hiring-overview h3 {
    font-size: 1.1rem;
    font-weight: 600;
    color: #111827;
    margin: 0 0 0.75rem 0;
}

.hiring-overview p {
    color: #4b5563;
    line-height: 1.7;
    margin: 0;
}

.hiring-steps {
    margin-bottom: 2rem;
}

.hiring-steps h2 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #111827;
}

.hiring-step {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
    background: white;
    border-radius: 12px;
    padding: 1.25rem;
    border: 1px solid #e5e7eb;
}

.hiring-step-number {
    width: 36px;
    height: 36px;
    background: #1d4ed8;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    flex-shrink: 0;
}

.hiring-step-content h4 {
    font-size: 1rem;
    font-weight: 600;
    color: #111827;
    margin: 0 0 0.25rem 0;
}

.hiring-step-content p {
    color: #4b5563;
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0;
}

/* Interview Questions */
.interview-questions {
    margin-bottom: 2rem;
}

.interview-questions h2 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #111827;
}

.question-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.question-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    background: white;
    border-radius: 12px;
    padding: 1rem 1.25rem;
    border: 1px solid #e5e7eb;
}

.question-badge {
    width: 28px;
    height: 28px;
    background: #1d4ed8;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 0.85rem;
    flex-shrink: 0;
}

.question-text {
    color: #111827;
    line-height: 1.5;
}

.interview-tip {
    background: #f0fdf4;
    border: 1px solid #bbf7d0;
    border-radius: 8px;
    padding: 1rem;
    margin-top: 1rem;
    color: #166534;
}

.interview-tip strong {
    color: #14532d;
}
