/* Careers Page Styles for TripGoGo */

/* ========================================
   CAREERS HERO SECTION
   ======================================== */

.careers-hero {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 4rem 2rem;
    text-align: center;
    margin-bottom: 3rem;
}

.careers-hero-content h1 {
    font-size: 2.5rem;
    margin: 0 0 1rem 0;
    font-weight: 700;
}

.careers-hero-content p {
    font-size: 1.2rem;
    margin: 0;
    opacity: 0.95;
}

/* ========================================
   CAREERS CONTAINER
   ======================================== */

.careers-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
}

.careers-header {
    text-align: center;
    margin-bottom: 3rem;
}

.careers-header h2 {
    font-size: 2rem;
    color: #2c3e50;
    margin: 0 0 0.5rem 0;
}

.careers-count {
    color: #7f8c8d;
    font-size: 1.1rem;
}

/* ========================================
   DEPARTMENT SECTIONS
   ======================================== */

.department-section {
    margin-bottom: 3rem;
}

.department-title {
    font-size: 1.5rem;
    color: #34495e;
    margin: 0 0 1.5rem 0;
    padding-bottom: 0.5rem;
    border-bottom: 3px solid #3498db;
    display: inline-block;
}

/* ========================================
   JOB CARDS GRID
   ======================================== */

.jobs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 2rem;
}

.job-card {
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding: 1.5rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

.job-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.job-card-header {
    margin-bottom: 1rem;
}

.job-title {
    margin: 0 0 0.75rem 0;
}

.job-title a {
    color: #2c3e50;
    text-decoration: none;
    font-size: 1.3rem;
    font-weight: 600;
    transition: color 0.2s ease;
}

.job-title a:hover {
    color: #3498db;
}

.job-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    font-size: 0.9rem;
    color: #7f8c8d;
}

.job-meta-item {
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

.job-meta-item i {
    color: #3498db;
}

.job-level {
    background: #e8f4f8;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    color: #2980b9;
    font-weight: 500;
}

.job-card-body {
    flex: 1;
    margin-bottom: 1rem;
}

.job-excerpt {
    color: #555;
    line-height: 1.6;
    margin: 0;
}

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

.job-salary {
    color: #27ae60;
    font-weight: 600;
    font-size: 1rem;
}

/* ========================================
   EMPTY STATE
   ======================================== */

.careers-empty {
    text-align: center;
    padding: 4rem 2rem;
    color: #7f8c8d;
}

.careers-empty i {
    font-size: 4rem;
    margin-bottom: 1rem;
    color: #bdc3c7;
}

.careers-empty h2 {
    font-size: 1.8rem;
    color: #34495e;
    margin: 0 0 1rem 0;
}

.careers-empty p {
    font-size: 1.1rem;
    margin: 0.5rem 0;
}

/* ========================================
   PERKS SECTION
   ======================================== */

.careers-cta {
    background: #f8f9fa;
    padding: 3rem 2rem;
    border-radius: 12px;
    margin-top: 4rem;
}

.careers-cta-content h2 {
    text-align: center;
    font-size: 2rem;
    color: #2c3e50;
    margin: 0 0 2rem 0;
}

.perks-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.perk-card {
    text-align: center;
    padding: 2rem;
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.perk-card i {
    font-size: 2.5rem;
    color: #3498db;
    margin-bottom: 1rem;
}

.perk-card h3 {
    font-size: 1.2rem;
    color: #2c3e50;
    margin: 0 0 0.5rem 0;
}

.perk-card p {
    color: #7f8c8d;
    margin: 0;
    line-height: 1.6;
}

/* ========================================
   JOB DETAIL PAGE
   ======================================== */

.job-detail-container {
    max-width: 900px;
    margin: 2rem auto;
    padding: 2rem;
}

.job-breadcrumb {
    margin-bottom: 1.5rem;
}

.job-breadcrumb a {
    color: #3498db;
    text-decoration: none;
    font-size: 0.95rem;
}

.job-breadcrumb a:hover {
    text-decoration: underline;
}

.breadcrumb-separator {
    margin: 0 0.5rem;
    color: #7f8c8d;
}

.job-detail-header {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    margin-bottom: 2rem;
}

.job-header-content h1 {
    font-size: 2.5rem;
    color: #2c3e50;
    margin: 0 0 1rem 0;
}

.job-header-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    margin-bottom: 1rem;
    font-size: 1rem;
}

.job-salary-range {
    font-size: 1.3rem;
    color: #27ae60;
    font-weight: 600;
    margin-top: 1rem;
}

.job-apply-button {
    margin-top: 1.5rem;
}

.job-deadline-passed {
    background: #fff3cd;
    border: 1px solid #ffc107;
    color: #856404;
    padding: 1rem;
    border-radius: 8px;
    margin-top: 1rem;
    text-align: center;
}

.job-detail-body {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.job-section {
    margin-bottom: 2.5rem;
}

.job-section h2 {
    font-size: 1.6rem;
    color: #2c3e50;
    margin: 0 0 1rem 0;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #ecf0f1;
}

.job-content {
    color: #555;
    line-height: 1.8;
}

.job-content ul,
.job-content ol {
    margin: 1rem 0;
    padding-left: 2rem;
}

.job-content li {
    margin: 0.5rem 0;
}

.job-deadline-notice {
    background: #e8f4f8;
    border-left: 4px solid #3498db;
    padding: 1rem;
    border-radius: 4px;
    margin: 2rem 0;
    color: #2980b9;
}

.job-apply-footer {
    text-align: center;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 2px solid #ecf0f1;
}

/* ========================================
   APPLICATION FORM
   ======================================== */

.apply-container {
    max-width: 800px;
    margin: 2rem auto;
    padding: 2rem;
}

.apply-header {
    text-align: center;
    margin-bottom: 2rem;
}

.apply-header h1 {
    font-size: 2.2rem;
    color: #2c3e50;
    margin: 1rem 0 0.5rem 0;
}

.apply-subtitle {
    color: #7f8c8d;
    font-size: 1.1rem;
}

.apply-body {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.apply-form {
    max-width: 100%;
}

.form-section {
    margin-bottom: 2.5rem;
}

.form-section h2 {
    font-size: 1.4rem;
    color: #2c3e50;
    margin: 0 0 1.5rem 0;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #ecf0f1;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    font-weight: 500;
    color: #2c3e50;
    margin-bottom: 0.5rem;
}

.form-group label.required::after {
    content: " *";
    color: #e74c3c;
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="tel"],
.form-group input[type="url"],
.form-group textarea {
    width: 100%;
    padding: 0.75rem;
    border: 2px solid #e1e8ed;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.2s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #3498db;
    box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.1);
}

.form-group input[type="file"] {
    padding: 0.5rem;
    border: 2px dashed #bdc3c7;
    border-radius: 8px;
    width: 100%;
    cursor: pointer;
    transition: border-color 0.2s ease;
}

.form-group input[type="file"]:hover {
    border-color: #3498db;
}

.form-help-text {
    font-size: 0.875rem;
    color: #7f8c8d;
    margin-top: 0.25rem;
}

.form-error {
    color: #e74c3c;
    font-size: 0.875rem;
    margin-top: 0.25rem;
}

.form-actions {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
    justify-content: center;
}

.messages {
    margin-bottom: 1.5rem;
}

.alert {
    padding: 1rem;
    border-radius: 8px;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.alert-error {
    background: #ffebee;
    border: 1px solid #ffcdd2;
    color: #c62828;
}

.alert-success {
    background: #e8f5e9;
    border: 1px solid #c8e6c9;
    color: #2e7d32;
}

.alert-info {
    background: #e3f2fd;
    border: 1px solid #bbdefb;
    color: #1976d2;
}

/* ========================================
   THANK YOU PAGE
   ======================================== */

.thank-you-container {
    max-width: 800px;
    margin: 3rem auto;
    padding: 2rem;
}

.thank-you-content {
    background: white;
    padding: 3rem 2rem;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.thank-you-icon {
    font-size: 4rem;
    color: #27ae60;
    margin-bottom: 1rem;
}

.thank-you-content h1 {
    font-size: 2.2rem;
    color: #2c3e50;
    margin: 0 0 0.5rem 0;
}

.thank-you-subtitle {
    color: #7f8c8d;
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

.application-summary {
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 8px;
    margin: 2rem 0;
}

.application-summary h2 {
    font-size: 1.3rem;
    color: #2c3e50;
    margin: 0 0 1rem 0;
}

.summary-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
    text-align: left;
}

.summary-item {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.summary-label {
    font-size: 0.85rem;
    color: #7f8c8d;
    font-weight: 500;
}

.summary-value {
    font-size: 1rem;
    color: #2c3e50;
    font-weight: 600;
}

.thank-you-message {
    margin: 2rem 0;
}

.thank-you-message h3 {
    font-size: 1.5rem;
    color: #2c3e50;
    margin: 0 0 1.5rem 0;
}

.next-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-top: 1.5rem;
}

.next-step {
    padding: 1rem;
}

.next-step i {
    font-size: 2rem;
    color: #3498db;
    margin-bottom: 0.5rem;
}

.next-step h4 {
    font-size: 1.1rem;
    color: #2c3e50;
    margin: 0 0 0.5rem 0;
}

.next-step p {
    font-size: 0.9rem;
    color: #7f8c8d;
    margin: 0;
}

.thank-you-note {
    background: #fff3cd;
    border: 1px solid #ffc107;
    padding: 1rem;
    border-radius: 8px;
    margin: 2rem 0;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: #856404;
}

.thank-you-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 2rem;
}

/* ========================================
   BUTTON STYLES
   ======================================== */

.btn {
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 500;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.2s ease;
}

.btn-primary {
    background: #3498db;
    color: white;
}

.btn-primary:hover {
    background: #2980b9;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(52, 152, 219, 0.3);
}

.btn-secondary {
    background: #95a5a6;
    color: white;
}

.btn-secondary:hover {
    background: #7f8c8d;
}

.btn-lg {
    padding: 1rem 2rem;
    font-size: 1.1rem;
}

.btn-sm {
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
}

/* ========================================
   RESPONSIVE DESIGN
   ======================================== */

@media (max-width: 768px) {
    .careers-hero-content h1 {
        font-size: 2rem;
    }

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

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

    .form-row {
        grid-template-columns: 1fr;
    }

    .job-card-footer {
        flex-direction: column;
        gap: 1rem;
        align-items: flex-start;
    }

    .next-steps {
        grid-template-columns: 1fr;
    }

    .form-actions {
        flex-direction: column;
        width: 100%;
    }

    .form-actions .btn {
        width: 100%;
        justify-content: center;
    }

    .thank-you-actions {
        flex-direction: column;
    }

    .thank-you-actions .btn {
        width: 100%;
        justify-content: center;
    }
}
