/* Ogólne style */

.recruiter-dashboard,
.job-board,
.job-application-form,
.my-applications,
.view-applications {
    max-width: 1200px;
    margin: 20px auto;
    padding: 20px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}



/* Tabele */

.job-postings-table,
.applications-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
}



.job-postings-table th,
.applications-table th {
    background: #0073aa;
    color: #fff;
    padding: 12px;
    text-align: left;
}



.job-postings-table td,
.applications-table td {
    padding: 10px;
    border-bottom: 1px solid #ddd;
}



.job-postings-table tr:hover,
.applications-table tr:hover {
    background: #f5f5f5;
}



/* Job listings */

.job-listing-item {
    border: 1px solid #ddd;
    padding: 20px;
    margin-bottom: 20px;
    border-radius: 5px;
    transition: box-shadow 0.3s;
}



.job-listing-item:hover {
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}



.job-listing-item h3 {
    margin-top: 0;
    color: #0073aa;
}



.job-meta {
    color: #666;
    font-size: 14px;
    line-height: 1.8;
}



/* Formularz aplikacji */

.job-application-form form p {
    margin-bottom: 15px;
}



.job-application-form label {
    display: block;
    margin-bottom: 5px;
    font-weight: 600;
}



.job-application-form input[type="text"],
.job-application-form input[type="tel"],
.job-application-form input[type="email"],
.job-application-form textarea,
.job-application-form input[type="file"] {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
}



/* Statusy */

.status-pending { color: #f0ad4e; font-weight: bold; }
.status-reviewed { color: #5bc0de; font-weight: bold; }
.status-accepted { color: #5cb85c; font-weight: bold; }
.status-rejected { color: #d9534f; font-weight: bold; }



/* Komunikaty */

.success {
    color: #155724;
    background-color: #d4edda;
    border: 1px solid #c3e6cb;
    padding: 12px 20px;
    border-radius: 4px;
    margin-top: 15px;
}



.error {
    color: #721c24;
    background-color: #f8d7da;
    border: 1px solid #f5c6cb;
    padding: 12px 20px;
    border-radius: 4px;
    margin-top: 15px;
}



/* Przyciski */

.button {
    display: inline-block;
    padding: 10px 20px;
    background: #0073aa;
    color: #fff;
    text-decoration: none;
    border-radius: 4px;
    transition: background 0.3s;
}



.button:hover {
    background: #005177;
    color: #fff;
}



.button-primary {
    background: #0073aa;
}

/* Szczegóły aplikacji */
.application-details {
    max-width: 900px;
    margin: 20px auto;
    padding: 20px;
}

.application-info-box,
.application-message-box,
.interview-proposal-box {
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 20px;
}

.application-info-box h3 {
    margin-top: 0;
    color: #0073aa;
}

.application-info-box p {
    margin: 10px 0;
}

/* Propozycja rozmowy */
.interview-proposal-box {
    background: #f0f8ff;
    border-color: #0073aa;
}

.interview-proposal-box h3 {
    margin-top: 0;
    color: #0073aa;
}

.interview-details {
    background: #fff;
    padding: 15px;
    border-radius: 5px;
    margin: 15px 0;
}

.interview-details p {
    margin: 10px 0;
}

.interview-response {
    padding: 15px;
    border-radius: 5px;
    margin-bottom: 15px;
    font-weight: bold;
}

.interview-response.accepted {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.interview-response.rejected {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.interview-actions {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 2px solid #ddd;
}

.interview-actions p {
    font-weight: bold;
    margin-bottom: 15px;
}

.interview-actions button {
    margin-right: 10px;
    margin-bottom: 10px;
}

/* Status rozmowy w tabeli */
.status-interview {
    color: #0073aa;
    font-weight: bold;
}

/* Responsywność */

@media (max-width: 768px) {
    .job-postings-table,
    .applications-table {
        font-size: 12px;
    }

    .job-postings-table th,
    .applications-table th,
    .job-postings-table td,
    .applications-table td {
        padding: 8px 4px;
    }

    .interview-actions button {
        display: block;
        width: 100%;
        margin-right: 0;
    }
}
