/* ================================
   COMMON TABLE STYLES
================================ */

.slot-table {
    width: 100%;
    border-collapse: collapse;
    margin: 15px 0;
    font-size: 14px;
}

.slot-table th,
.slot-table td {
    border: 1px solid #e1e5eb;
    padding: 10px;
    text-align: center;
    vertical-align: middle;
}

.slot-table th {
    background: #f5f7fa;
    font-weight: 600;
}

.slot-table tr:hover {
    background: #f9fbff;
}

/* ================================
   FORM STYLES
================================ */

.sas-form {
    background: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,.08);
}

.sas-form input,
.sas-form textarea {
    width: 100%;
    padding: 10px;
    margin-bottom: 12px;
    border-radius: 5px;
    border: 1px solid #ddd;
}

.sas-form button {
    background: #1e73ff;
    color: #fff;
    border: none;
    padding: 10px 14px;
    border-radius: 5px;
    cursor: pointer;
}

/* ================================
   ACTION BUTTONS (MENTOR)
================================ */

.sas-actions {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
    justify-content: center;
}

.sas-btn {
    padding: 5px 10px;
    font-size: 12px;
    border-radius: 4px;
    color: #fff !important;
    text-decoration: none !important;
    display: inline-block;
}

.sas-btn-warning { background: #f0ad4e; }
.sas-btn-danger  { background: #d9534f; }
.sas-btn-success { background: #5cb85c; }

/* ================================
   STATUS BADGES
================================ */

.sas-status {
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 12px;
    color: #fff;
    display: inline-block;
}

.sas-status-submitted { background: #5cb85c; }
.sas-status-resubmit  { background: #f0ad4e; }
.sas-status-cancelled { background: #d9534f; }

/* ================================
   MODAL (CANCEL SLOT)
================================ */

.sas-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

.sas-modal {
    background: #fff;
    padding: 20px;
    width: 320px;
    border-radius: 8px;
    box-shadow: 0 8px 25px rgba(0,0,0,.25);
}

.sas-modal h3 {
    margin-top: 0;
}

/* ================================
   HEADERS (DATE / PANEL)
================================ */

.sas-date-row td {
    background: #e8eef5;
    font-weight: 700;
    text-align: left;
}

.sas-panel-row td {
    background: #f5f7fa;
    font-weight: 600;
    text-align: left;
}
.sas-status-completed { background:#5cb85c; }
.sas-status-not_joined { background:#d9534f; }
