/* General Dashboard Styling */
.rbd-container {
  .rbd-container {
    max-width: 960px;
    margin: 40px auto;
    padding: 30px;
    background-color: #f9fafb;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
}
}

.rbd-container h2, .rbd-container h3 {
    color: #111827;
    border-bottom: 2px solid #e5e7eb;
    padding-bottom: 10px;
    margin-top: 30px;
    margin-bottom: 20px;
}

.rbd-container h2:first-child, .rbd-container h3:first-child {
    margin-top: 0;
}

.rbd-container hr {
    border: none;
    border-top: 1px solid #e5e7eb;
    margin: 40px 0;
}

/* Form Styling */
.rbd-container form {
    background-color: #ffffff;
    padding: 25px;
    border-radius: 6px;
    border: 1px solid #d1d5db;
}

.rbd-container form label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #374151;
}

.rbd-container form input[type="text"],
.rbd-container form input[type="date"],
.rbd-container form input[type="file"],
.rbd-container form textarea,
.rbd-container form select {
    width: 100%;
    padding: 12px;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    box-sizing: border-box;
    margin-bottom: 15px;
    background-color: #f9fafb;
}

.rbd-container form button,
.rbd-apply {
    background-color: #3b82f6;
    color: white;
    padding: 12px 24px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 16px;
    font-weight: 500;
    transition: background-color 0.3s;
}

.rbd-container form button:hover,
.rbd-apply:hover {
    background-color: #2563eb;
}

/* Success & Error Messages */
p.success {
    background-color: #d1fae5;
    color: #065f46;
    border: 1px solid #a7f3d0;
    padding: 15px;
    border-radius: 6px;
}

p.error {
    background-color: #fee2e2;
    color: #991b1b;
    border: 1px solid #fecaca;
    padding: 15px;
    border-radius: 6px;
}

/* Job Listing on Student Dashboard */
.job {
    border: 1px solid #e5e7eb;
    padding: 20px;
    margin: 15px 0;
    background-color: #ffffff;
    border-radius: 6px;
}
.job h4 {
    margin-top: 0;
    color: #1f2937;
}

/* HR Applicant Table */
table.rbd-students {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
    background-color: #ffffff;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    overflow: hidden; /* For border-radius on table */
}

table.rbd-students th, table.rbd-students td {
    padding: 14px;
    text-align: left;
    border-bottom: 1px solid #e5e7eb;
}

table.rbd-students th {
    background-color: #f9fafb;
    color: #374151;
    font-weight: 600;
}

table.rbd-students tr:last-child td {
    border-bottom: none;
}

table.rbd-students tr:hover {
    background-color: #f3f4f6;
}

table.rbd-students a {
    color: #3b82f6;
    font-weight: 500;
    text-decoration: none;
}

table.rbd-students a:hover {
    text-decoration: underline;
}

/* General Link */
.rbd-container a {
    color: #3b82f6;
}
