/* HR Specific Styles - Initially copied from admin.css */

/* Styles from admin/jobs/list_page.php */
/* Base table styles are in style.css */
.job-table a { /* General links within table */
    margin-right: 5px; 
    text-decoration: none; 
    color: var(--link-color);
}
.job-table .actions a, 
.job-table .actions button { /* Buttons/links in actions column */
    padding: 3px 6px; 
    border-radius: 3px; 
    text-decoration: none;
    display: inline-block;
    margin-bottom: 3px;
    border: none; /* Reset border for button */
    cursor: pointer; /* Add cursor for button */
    font-size: 0.9em; /* Slightly smaller buttons */
}
.actions .edit-btn { 
    background-color: var(--warning-color, #ffc107); 
    color: black; /* Keep black for yellow bg */
}
.actions .delete-btn { 
    background-color: var(--danger-color, #dc3545); 
    color: white; 
}
.add-new-btn { 
    display: inline-block; 
    margin-bottom: 20px; 
    padding: 10px 15px; 
    background-color: var(--button-bg, #007bff); 
    color: var(--button-text-color, white); 
    text-decoration: none; 
    border-radius: 4px; 
}
.add-new-btn:hover {
    opacity: 0.9;
}
/* Base alert styles are in style.css */

/* Styles from admin/jobs/form_page.php */
/* Base form styles are in style.css */
.job-form button { /* Submit button */
     /* Base button style exists */
}
.job-form a { /* Cancel link */
    margin-left: 15px;
    color: var(--link-color);
    text-decoration: none;
    vertical-align: middle; /* Align with button */
}
.job-form a:hover {
    text-decoration: underline;
}

/* Styles from admin/users/list_page.php - HR might not need these */
/* .user-table styles... */
/* .status-active, .status-inactive styles... */

/* Styles from admin/users/view_page.php - HR might not need these */
/* .user-details styles... */
/* .status-form styles... */
/* .groups-form styles... */


/* Styles from admin/applications/list_page.php */
.app-table a { /* General links */
    margin-right: 5px; 
    text-decoration: none; 
    color: var(--link-color);
}
.app-table .actions a { /* Buttons/links in actions */
    padding: 3px 6px; 
    border-radius: 3px; 
    text-decoration: none;
    display: inline-block;
    margin-bottom: 3px;
}
.actions .view-btn { 
    background-color: var(--info-color, #17a2b8); 
    color: white; 
}
.actions .download-btn { 
    background-color: var(--success-color, #28a745); 
    color: white; 
}

/* Styles from admin/applications/view_page.php */
/* .app-details styles similar to .user-details */
.status-form select, .status-form button, 
.interview-form input, .interview-form textarea, .interview-form button { 
    padding: 8px 12px; 
    margin-right: 10px; 
    margin-bottom: 10px; 
    /* Base styles apply */
}
.interview-form label { 
    display: block; 
    margin-top: 10px; 
    font-weight: bold; 
}
/* Base input/textarea styles exist */
.resume-link { 
    display: inline-block; 
    margin-top: 10px; 
    padding: 8px 15px; 
    background-color: var(--success-color, #28a745); 
    color: white; 
    text-decoration: none; 
    border-radius: 4px; 
}
.resume-link:hover { 
    opacity: 0.9;
}
.qualifications, .experience { 
    white-space: pre-wrap; /* Preserve line breaks */ 
    font-family: inherit; /* Ensure consistent font */
    padding: 5px;
    border: 1px solid var(--border-color);
    background-color: var(--header-bg); /* Slightly different background */
    border-radius: 3px;
    display: block; /* Make it block */
    max-width: 100%; /* Prevent overflow */
    overflow-x: auto; /* Add scroll if needed */
}

/* Styles from admin/interviews/calendar_page.php */
#calendar {
    max-width: 900px;
    margin: 20px auto;
    padding: 10px;
    background-color: var(--card-bg, #fff); /* Use theme variable */
    border: 1px solid var(--border-color, #ddd);
    border-radius: 5px;
}
/* Basic styling for event tooltips (requires interaction plugin & tippy.js later) */
#calendar .fc-event-main { cursor: pointer; } 
/* You might need more specific FullCalendar overrides for dark mode */
body.dark-mode #calendar .fc-daygrid-day-number, 
body.dark-mode #calendar .fc-col-header-cell-cushion {
    color: var(--text-color); /* Adjust text color inside calendar */
}
body.dark-mode #calendar .fc-day-today {
     background-color: rgba(88, 166, 255, 0.2); /* Lighter highlight for today */
}