/* Job Application Styles */
.job-application-page .main-content-wrapper {
    max-width: 1400px;
    margin: 0 auto;
}

.job-form-container,
.dashboard-container,
.success-container {
    max-width: 800px;
    margin: 30px auto;
    padding: 30px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
}

.dashboard-container {
    max-width: 1400px;
}

.job-form-container h1,
.dashboard-header h1,
.success-container h1 {
    font-size: 2.5rem;
    color: #1a1a1a;
    text-align: center;
    background: #333;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.job-form-container p.subtitle,
.success-container p {
    text-align: center;
    color: #666;
    margin-bottom: 40px;
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 12px;
    color: #333;
}

.form-group input:not([type="radio"]):not([type="checkbox"]),
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #eee;
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.3s ease;
    box-sizing: border-box;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    border-color: #4e4376;
    outline: none;
    box-shadow: 0 0 0 4px rgba(78, 67, 118, 0.1);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.radio-group {
    display: flex;
    gap: 20px;
    margin-top: 5px;
}

.radio-group label {
    font-weight: normal;
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
}

.submit-btn {
    display: block;
    width: 100%;
    padding: 15px;
    background: linear-gradient(135deg, #2b5876 0%, #4e4376 100%);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
    margin-top: 30px;
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* Dashboard Table Styles */
table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
}

th {
    text-align: left;
    padding: 15px;
    background-color: #f8f9fa;
    color: #666;
    font-weight: 600;
    border-bottom: 2px solid #eee;
}

td {
    padding: 15px;
    border-bottom: 1px solid #eee;
    color: #444;
}

tr:hover {
    background-color: #fcfcfc;
}

.resume-link {
    color: #2b5876;
    text-decoration: none;
    font-weight: 500;
}

.resume-link:hover {
    text-decoration: underline;
}

/* Consent Checkbox Styles */
.consent-group {
    margin-top: 30px;
    margin-bottom: 30px;
    padding: 15px;
    background: #f9f9f9;
    border-radius: 8px;
    border: 1px dashed #ccc;
}

.consent-label {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 0.9rem;
    color: #555;
    line-height: 1.5;
    cursor: pointer;
    font-weight: normal !important;
}

.consent-label input[type="checkbox"] {
    margin-top: 4px;
    width: 18px;
    height: 18px;
    cursor: pointer;
}

/* Mobile Responsiveness */
@media (max-width: 600px) {

    .job-form-container,
    .dashboard-container,
    .success-container {
        margin: 20px 10px;
        padding: 20px;
    }

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

    .radio-group {
        flex-direction: column;
        gap: 12px;
    }

    .job-form-container h1 {
        font-size: 2rem;
    }

    .form-group input:not([type="radio"]):not([type="checkbox"]),
    .form-group textarea,
    .form-group select {
        font-size: 16px;
        /* Prevents iOS zoom and improves readability */
    }
}

.copy-btn {
    border: none;
    background: transparent;
    color: #999;
    cursor: pointer;
    padding: 2px 5px;
    border-radius: 4px;
    transition: all 0.2s;
    font-size: 0.9rem;
    vertical-align: middle;
}

.copy-btn:hover {
    color: #4e4376;
    background: #f0f0f0;
}

/* Success Page Styles */
.success-icon {
    font-size: 4rem;
    color: #4CAF50;
    margin-bottom: 20px;
    text-align: center;
}

.form-divider {
    width: 80px;
    margin: 40px auto;
    border: 0;
    border-top: 4px solid #2b5876;
    border-radius: 4px;
    opacity: 0.6;
}

.screening-questions-title {
    margin-bottom: 25px;
    color: #333;
    text-align: center;
    font-weight: 700;
}

/* Dashboard Screening Questions Column */
.screening-data {
    font-size: 0.85rem;
    line-height: 1.4;
    color: #444;
    min-width: 250px;
}

.screening-item {
    padding: 2px 0;
}

.screening-item:not(:last-child) {
    border-bottom: 1px solid #eee;
}

.screening-item strong {
    color: #2b5876;
    margin-right: 5px;
}

/* Dashboard Layout Refinements */
.date-cell {
    font-size: 0.8rem;
    color: #666;
    white-space: nowrap;
}

.links-cell {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.resume-link {
    font-size: 0.85rem;
    text-decoration: none;
    color: #2b5876;
    font-weight: 500;
}

.resume-link:hover {
    text-decoration: underline;
}