/* ============================================================
   LAB LIMS PRO
   PRAKTIKUM MODULE
   STUDENT + ADMIN
   ============================================================ */


/* ============================================================
   1. ROOT / GENERAL
   ============================================================ */

.lims-pm-student-dashboard,
.lims-pm-registration-card,
.lims-pm-admin-page {

    box-sizing: border-box;

    --lims-pm-primary: #2563eb;
    --lims-pm-primary-dark: #1d4ed8;
    --lims-pm-success: #15803d;
    --lims-pm-danger: #dc2626;
    --lims-pm-warning: #b45309;

    --lims-pm-text: #172033;
    --lims-pm-muted: #667085;
    --lims-pm-border: #e4e7ec;
    --lims-pm-bg: #f8fafc;
    --lims-pm-white: #ffffff;

    color: var(--lims-pm-text);
}


.lims-pm-student-dashboard *,
.lims-pm-registration-card *,
.lims-pm-admin-page * {

    box-sizing: border-box;
}


/* ============================================================
   2. STUDENT DASHBOARD
   ============================================================ */

.lims-pm-student-dashboard {

    width: 100%;
    max-width: 1400px;

    margin: 0 auto;
}


/* ============================================================
   3. DASHBOARD HEADER
   ============================================================ */

.lims-pm-student-header {

    display: flex;

    justify-content: space-between;

    align-items: center;

    gap: 30px;

    margin-bottom: 25px;

    padding: 28px;

    background:
        linear-gradient(
            135deg,
            #ffffff 0%,
            #f8fafc 100%
        );

    border: 1px solid var(--lims-pm-border);

    border-radius: 16px;

    box-shadow:
        0 4px 15px rgba(16, 24, 40, .05);
}


.lims-pm-kicker {

    display: inline-block;

    margin-bottom: 6px;

    font-size: 11px;

    font-weight: 700;

    letter-spacing: 1.2px;

    text-transform: uppercase;

    color: var(--lims-pm-primary);
}


.lims-pm-student-header h2 {

    margin: 0 0 8px;

    font-size: 27px;

    line-height: 1.25;

    font-weight: 700;
}


.lims-pm-student-header p {

    margin: 0;

    color: var(--lims-pm-muted);

    font-size: 14px;
}


.lims-pm-student-identity {

    min-width: 230px;

    display: flex;

    flex-direction: column;

    gap: 4px;

    padding: 15px 18px;

    background: #ffffff;

    border: 1px solid var(--lims-pm-border);

    border-radius: 12px;
}


.lims-pm-student-identity strong {

    font-size: 15px;
}


.lims-pm-student-identity span {

    color: var(--lims-pm-muted);

    font-size: 13px;
}


/* ============================================================
   4. STATISTICS
   ============================================================ */

.lims-pm-student-stats {

    display: grid;

    grid-template-columns:
        repeat(3, minmax(0, 1fr));

    gap: 18px;

    margin-bottom: 25px;
}


.lims-pm-stat-card {

    padding: 22px;

    background: #ffffff;

    border: 1px solid var(--lims-pm-border);

    border-radius: 14px;

    box-shadow:
        0 3px 12px rgba(16, 24, 40, .04);
}


.lims-pm-stat-card span {

    display: block;

    margin-bottom: 8px;

    color: var(--lims-pm-muted);

    font-size: 13px;

    font-weight: 500;
}


.lims-pm-stat-card strong {

    display: block;

    font-size: 25px;

    line-height: 1.2;

    font-weight: 700;
}


.lims-pm-stat-period {

    font-size: 16px !important;

    line-height: 1.5 !important;
}


/* ============================================================
   5. STUDENT SECTION
   ============================================================ */

.lims-pm-student-section {

    margin-bottom: 25px;

    padding: 24px;

    background: #ffffff;

    border: 1px solid var(--lims-pm-border);

    border-radius: 16px;

    box-shadow:
        0 3px 12px rgba(16, 24, 40, .04);
}


.lims-pm-section-header {

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 20px;

    margin-bottom: 18px;
}


.lims-pm-section-header h3 {

    margin: 0 0 5px;

    font-size: 19px;

    line-height: 1.3;
}


.lims-pm-section-header p {

    margin: 0;

    color: var(--lims-pm-muted);

    font-size: 13px;
}


/* ============================================================
   6. TABLE
   ============================================================ */

.lims-pm-table-wrapper {

    width: 100%;

    overflow-x: auto;

    border: 1px solid var(--lims-pm-border);

    border-radius: 12px;
}


.lims-pm-table {

    width: 100%;

    border-collapse: collapse;

    margin: 0;
}


.lims-pm-table th {

    padding: 13px 15px;

    background: #f8fafc;

    color: #475467;

    font-size: 12px;

    font-weight: 700;

    text-align: left;

    white-space: nowrap;

    border-bottom: 1px solid var(--lims-pm-border);
}


.lims-pm-table td {

    padding: 14px 15px;

    color: #344054;

    font-size: 13px;

    vertical-align: middle;

    border-bottom: 1px solid #eef0f3;
}


.lims-pm-table tbody tr:last-child td {

    border-bottom: 0;
}


.lims-pm-table tbody tr:hover {

    background: #fafbfc;
}


.lims-pm-table td strong {

    font-weight: 700;

    color: var(--lims-pm-text);
}


.lims-pm-table td small {

    color: var(--lims-pm-muted);

    font-size: 12px;
}


/* ============================================================
   7. STATUS BADGE
   ============================================================ */

.lims-pm-status {

    display: inline-flex;

    align-items: center;

    justify-content: center;

    min-height: 27px;

    padding: 4px 10px;

    border-radius: 999px;

    font-size: 11px;

    font-weight: 700;

    line-height: 1;

    white-space: nowrap;
}


.lims-pm-status-aktif,
.lims-pm-status-tersedia,
.lims-pm-status-terdaftar,
.lims-pm-status-selesai {

    color: #166534;

    background: #dcfce7;
}


.lims-pm-status-penuh,
.lims-pm-status-ditutup {

    color: #92400e;

    background: #fef3c7;
}


.lims-pm-status-nonaktif,
.lims-pm-status-ditolak {

    color: #991b1b;

    background: #fee2e2;
}


.lims-pm-status-menunggu {

    color: #1e40af;

    background: #dbeafe;
}


.lims-pm-status-batal {

    color: #475467;

    background: #f2f4f7;
}


/* ============================================================
   8. EMPTY STATE
   ============================================================ */

.lims-pm-empty {

    display: flex;

    flex-direction: column;

    align-items: center;

    justify-content: center;

    gap: 5px;

    min-height: 110px;

    padding: 25px;

    text-align: center;

    color: var(--lims-pm-muted);

    background: #f8fafc;

    border: 1px dashed #d0d5dd;

    border-radius: 12px;

    font-size: 13px;
}


.lims-pm-empty strong {

    color: var(--lims-pm-text);

    font-size: 14px;
}


/* ============================================================
   9. PRAKTIKUM TERSEDIA
   ============================================================ */

.lims-pm-available-grid {

    display: grid;

    grid-template-columns:
        repeat(3, minmax(0, 1fr));

    gap: 15px;
}


.lims-pm-available-card {

    padding: 18px;

    background: #ffffff;

    border: 1px solid var(--lims-pm-border);

    border-radius: 12px;

    transition:
        transform .18s ease,
        box-shadow .18s ease,
        border-color .18s ease;
}


.lims-pm-available-card:hover {

    transform: translateY(-2px);

    border-color: #cbd5e1;

    box-shadow:
        0 7px 20px rgba(16, 24, 40, .07);
}


.lims-pm-course-code {

    display: inline-block;

    margin-bottom: 7px;

    color: var(--lims-pm-primary);

    font-size: 11px;

    font-weight: 700;

    letter-spacing: .5px;
}


.lims-pm-available-card h4 {

    margin: 0 0 12px;

    font-size: 15px;

    line-height: 1.45;
}


.lims-pm-course-meta {

    display: flex;

    flex-wrap: wrap;

    gap: 7px;
}


.lims-pm-course-meta span {

    padding: 5px 8px;

    background: #f2f4f7;

    border-radius: 6px;

    color: #475467;

    font-size: 11px;

    font-weight: 600;
}


/* ============================================================
   10. REGISTRATION CARD
   ============================================================ */

.lims-pm-student-registration-section {

    width: 100%;

    margin-bottom: 30px;
}


.lims-pm-registration-card {

    width: 100%;

    padding: 0;

    background: #ffffff;

    border: 1px solid var(--lims-pm-border);

    border-radius: 18px;

    overflow: hidden;

    box-shadow:
        0 5px 20px rgba(16, 24, 40, .06);
}


/* ============================================================
   11. REGISTRATION HEADER
   ============================================================ */

.lims-pm-registration-card-header {

    display: flex;

    justify-content: space-between;

    align-items: center;

    gap: 25px;

    padding: 28px 30px;

    background:
        linear-gradient(
            135deg,
            #f8fbff 0%,
            #ffffff 100%
        );

    border-bottom: 1px solid var(--lims-pm-border);
}


.lims-pm-registration-card-header h3 {

    margin: 0 0 7px;

    font-size: 23px;

    line-height: 1.3;
}


.lims-pm-registration-card-header p {

    margin: 0;

    color: var(--lims-pm-muted);

    font-size: 13px;
}


.lims-pm-registration-period {

    min-width: 210px;

    padding: 14px 17px;

    background: #ffffff;

    border: 1px solid var(--lims-pm-border);

    border-radius: 11px;

    text-align: right;
}


.lims-pm-registration-period span {

    display: block;

    margin-bottom: 4px;

    color: var(--lims-pm-muted);

    font-size: 11px;

    text-transform: uppercase;

    letter-spacing: .6px;
}


.lims-pm-registration-period strong {

    display: block;

    font-size: 14px;
}


.lims-pm-registration-period small {

    display: block;

    margin-top: 4px;

    color: var(--lims-pm-muted);

    font-size: 11px;
}


/* ============================================================
   12. STUDENT INFORMATION
   ============================================================ */

.lims-pm-registration-student {

    display: grid;

    grid-template-columns:
        repeat(3, minmax(0, 1fr));

    gap: 15px;

    margin: 25px 30px 0;

    padding: 18px;

    background: #f8fafc;

    border: 1px solid var(--lims-pm-border);

    border-radius: 12px;
}


.lims-pm-registration-student > div {

    min-width: 0;
}


.lims-pm-registration-student span {

    display: block;

    margin-bottom: 5px;

    color: var(--lims-pm-muted);

    font-size: 11px;

    font-weight: 600;

    text-transform: uppercase;

    letter-spacing: .4px;
}


.lims-pm-registration-student strong {

    display: block;

    font-size: 14px;

    overflow-wrap: anywhere;
}


/* ============================================================
   13. FORM
   ============================================================ */

.lims-pm-form {

    padding: 25px 30px 30px;
}


.lims-pm-grid {

    display: grid;

    grid-template-columns:
        repeat(2, minmax(0, 1fr));

    gap: 20px;
}


.lims-pm-field {

    min-width: 0;
}


.lims-pm-field.lims-pm-wide {

    grid-column: 1 / -1;
}


.lims-pm-field label {

    display: block;

    margin-bottom: 8px;

    color: var(--lims-pm-text);

    font-size: 13px;

    font-weight: 700;
}


/* ============================================================
   14. SELECT
   ============================================================ */

#lims-pm-registration-form .lims-pm-field select {

    display: block;

    width: 100%;

    min-height: 48px;

    margin: 0;

    padding: 10px 43px 10px 14px;

    color: #1d2939;

    background-color: #ffffff;

    border: 1px solid #d0d5dd;

    border-radius: 10px;

    font-size: 13px;

    line-height: 1.4;

    cursor: pointer;

    appearance: none;

    -webkit-appearance: none;

    -moz-appearance: none;

    background-image: url(
        "data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%23667085' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E"
    );

    background-repeat: no-repeat;

    background-position:
        right 14px center;

    background-size: 17px 17px;

    transition:
        border-color .15s ease,
        box-shadow .15s ease;
}


#lims-pm-registration-form .lims-pm-field select:hover {

    border-color: #98a2b3;
}


#lims-pm-registration-form .lims-pm-field select:focus {

    outline: none;

    border-color:
        var(--lims-pm-primary);

    box-shadow:
        0 0 0 3px rgba(37, 99, 235, .10);
}


#lims-pm-registration-form .lims-pm-field select:disabled {

    color: #98a2b3;

    background-color: #f2f4f7;

    cursor: not-allowed;

    opacity: 1;
}


#lims-pm-registration-form .lims-pm-field select option {

    color: #1d2939;

    background: #ffffff;
}


#lims-pm-registration-form .lims-pm-field select option:disabled {

    color: #98a2b3;
}


/* ============================================================
   15. HELP TEXT
   ============================================================ */

.lims-pm-help {

    display: block;

    margin-top: 7px;

    color: #667085;

    font-size: 11px;

    line-height: 1.5;
}


/* ============================================================
   16. SCHEDULE INFORMATION
   ============================================================ */

.lims-pm-schedule-info {

    min-height: 0;

    margin-top: 20px;

    padding: 0;

    border-radius: 10px;

    font-size: 12px;

    line-height: 1.6;

    transition:
        padding .15s ease;
}


.lims-pm-schedule-info:not(:empty) {

    padding: 13px 15px;
}


.lims-pm-schedule-info-info {

    color: #1e40af;

    background: #eff6ff;

    border: 1px solid #bfdbfe;
}


.lims-pm-schedule-info-success {

    color: #166534;

    background: #f0fdf4;

    border: 1px solid #bbf7d0;
}


.lims-pm-schedule-info-error {

    color: #991b1b;

    background: #fef2f2;

    border: 1px solid #fecaca;
}


/* ============================================================
   17. REGISTRATION INFORMATION
   ============================================================ */

.lims-pm-registration-information {

    margin-top: 20px;

    padding: 17px 18px;

    background: #f8fafc;

    border: 1px solid var(--lims-pm-border);

    border-radius: 11px;
}


.lims-pm-registration-information-title {

    margin-bottom: 8px;

    color: var(--lims-pm-text);

    font-size: 13px;

    font-weight: 700;
}


.lims-pm-registration-information ul {

    margin: 0;

    padding-left: 19px;
}


.lims-pm-registration-information li {

    margin: 5px 0;

    color: var(--lims-pm-muted);

    font-size: 12px;

    line-height: 1.55;
}


/* ============================================================
   18. FORM ACTION
   ============================================================ */

.lims-pm-form-actions {

    display: flex;

    justify-content: flex-end;

    align-items: center;

    gap: 10px;

    margin-top: 23px;

    padding-top: 20px;

    border-top: 1px solid var(--lims-pm-border);
}


.lims-pm-button {

    min-height: 46px;

    padding: 10px 22px;

    border: 0;

    border-radius: 9px;

    color: #ffffff;

    background:
        var(--lims-pm-primary);

    font-size: 13px;

    font-weight: 700;

    cursor: pointer;

    transition:
        background .15s ease,
        transform .15s ease,
        box-shadow .15s ease;
}


.lims-pm-button:hover:not(:disabled) {

    background:
        var(--lims-pm-primary-dark);

    transform: translateY(-1px);

    box-shadow:
        0 4px 12px rgba(37, 99, 235, .20);
}


.lims-pm-button:focus {

    outline: none;

    box-shadow:
        0 0 0 3px rgba(37, 99, 235, .15);
}


.lims-pm-button:disabled {

    color: #98a2b3;

    background: #e4e7ec;

    cursor: not-allowed;

    transform: none;

    box-shadow: none;
}


/* ============================================================
   19. ERROR / ALERT
   ============================================================ */

.lims-pm-error,
.lims-pm-student-alert {

    margin-bottom: 20px;

    padding: 16px 18px;

    color: #991b1b;

    background: #fef2f2;

    border: 1px solid #fecaca;

    border-radius: 10px;

    font-size: 13px;
}


.lims-pm-error strong,
.lims-pm-student-alert strong {

    display: block;

    margin-bottom: 4px;
}


.lims-pm-error p {

    margin: 7px 0;

}


.lims-pm-error code {

    display: inline-block;

    padding: 4px 7px;

    background: #ffffff;

    border: 1px solid #fecaca;

    border-radius: 5px;

    font-size: 11px;
}


/* =========================================================
   SILAB PRAKTIKUM - MODERN ADMIN UI
   Dashboard + Mata Kuliah
========================================================= */

.lims-pm-admin {
    max-width: 100%;
}

.lims-pm-admin *,
.lims-pm-admin *::before,
.lims-pm-admin *::after {
    box-sizing: border-box;
}


/* =========================================================
   PAGE HEADER
========================================================= */

.lims-pm-admin .lims-pm-title {
    font-size: 28px !important;
    font-weight: 700 !important;
    margin-bottom: 22px !important;
}

.lims-pm-admin .lims-pm-kicker {
    display: inline-block;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    opacity: .75;
    margin-bottom: 7px;
}

.lims-pm-admin .lims-pm-page-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    margin: 25px 0 20px;
}

.lims-pm-admin .lims-pm-page-header h2 {
    margin: 4px 0 6px;
    font-size: 25px;
    line-height: 1.25;
}

.lims-pm-admin .lims-pm-page-header p {
    margin: 0;
    color: #64748b;
    font-size: 14px;
}

.lims-pm-admin .lims-pm-page-counter {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    padding: 15px 22px;
    min-width: 130px;
    text-align: center;
    box-shadow: 0 3px 12px rgba(15, 23, 42, .05);
}

.lims-pm-admin .lims-pm-page-counter strong {
    display: block;
    font-size: 25px;
    line-height: 1;
}

.lims-pm-admin .lims-pm-page-counter span {
    display: block;
    margin-top: 6px;
    color: #64748b;
    font-size: 12px;
}


/* =========================================================
   HERO
========================================================= */

.lims-pm-admin .lims-pm-hero {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 25px;
    padding: 28px 30px;
    margin: 20px 0;
    border-radius: 18px;
    background: linear-gradient(
        135deg,
        #1e3a8a 0%,
        #2563eb 55%,
        #4f46e5 100%
    );
    color: #fff;
    box-shadow: 0 12px 30px rgba(37, 99, 235, .18);
}

.lims-pm-admin .lims-pm-hero-content {
    display: flex;
    align-items: center;
    gap: 18px;
}

.lims-pm-admin .lims-pm-hero-icon {
    width: 58px;
    height: 58px;
    border-radius: 15px;
    background: rgba(255,255,255,.15);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
}

.lims-pm-admin .lims-pm-hero .lims-pm-kicker {
    opacity: .8;
}

.lims-pm-admin .lims-pm-hero h2 {
    color: #fff;
    margin: 0 0 7px;
    font-size: 26px;
}

.lims-pm-admin .lims-pm-hero p {
    color: rgba(255,255,255,.82);
    margin: 0;
    font-size: 14px;
}

.lims-pm-admin .lims-pm-primary-action {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    background: #fff;
    color: #1d4ed8 !important;
    text-decoration: none !important;
    padding: 12px 18px;
    border-radius: 10px;
    font-weight: 700;
    white-space: nowrap;
    transition: all .2s ease;
}

.lims-pm-admin .lims-pm-primary-action:hover {
    transform: translateY(-2px);
    box-shadow: 0 7px 18px rgba(0,0,0,.15);
}


/* =========================================================
   STAT CARDS
========================================================= */

.lims-pm-admin .lims-pm-stat-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 15px;
    margin-bottom: 20px;
}

.lims-pm-admin .lims-pm-stat-card {
    display: block;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 15px;
    padding: 18px;
    text-decoration: none !important;
    color: #0f172a !important;
    box-shadow: 0 3px 12px rgba(15,23,42,.04);
    transition: all .2s ease;
}

.lims-pm-admin .lims-pm-stat-card:hover {
    transform: translateY(-3px);
    border-color: #bfdbfe;
    box-shadow: 0 9px 22px rgba(15,23,42,.08);
}

.lims-pm-admin .lims-pm-stat-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.lims-pm-admin .lims-pm-stat-icon {
    width: 42px;
    height: 42px;
    border-radius: 11px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 19px;
}

.lims-pm-admin .lims-pm-stat-icon.blue {
    background: #dbeafe;
}

.lims-pm-admin .lims-pm-stat-icon.green {
    background: #dcfce7;
}

.lims-pm-admin .lims-pm-stat-icon.purple {
    background: #ede9fe;
}

.lims-pm-admin .lims-pm-stat-icon.orange {
    background: #ffedd5;
}

.lims-pm-admin .lims-pm-stat-icon.red {
    background: #fee2e2;
}

.lims-pm-admin .lims-pm-stat-arrow {
    color: #94a3b8;
    font-size: 18px;
}

.lims-pm-admin .lims-pm-stat-card strong {
    display: block;
    font-size: 27px;
    margin-top: 15px;
    line-height: 1;
}

.lims-pm-admin .lims-pm-stat-card > span:last-child {
    display: block;
    color: #64748b;
    font-size: 13px;
    margin-top: 7px;
}


/* =========================================================
   DASHBOARD PANELS
========================================================= */

.lims-pm-admin .lims-pm-dashboard-grid {
    display: grid;
    grid-template-columns: 1.15fr .85fr;
    gap: 18px;
    margin-bottom: 18px;
}

.lims-pm-admin .lims-pm-panel {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 3px 12px rgba(15,23,42,.04);
}

.lims-pm-admin .lims-pm-panel-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
    padding: 19px 21px;
    border-bottom: 1px solid #edf2f7;
}

.lims-pm-admin .lims-pm-panel-header h3 {
    margin: 2px 0 0;
    font-size: 17px;
    color: #172033;
}

.lims-pm-admin .lims-pm-panel-label {
    display: block;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1px;
    color: #64748b;
}

.lims-pm-admin .lims-pm-panel-icon {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    background: #f1f5f9;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lims-pm-admin .lims-pm-panel-footer {
    padding: 0 21px 18px;
}


/* =========================================================
   ACTIVE PERIOD
========================================================= */

.lims-pm-admin .lims-pm-active-period {
    padding: 22px;
}

.lims-pm-admin .lims-pm-period-title {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
}

.lims-pm-admin .lims-pm-period-title strong {
    font-size: 19px;
}

.lims-pm-admin .lims-pm-period-academic {
    margin-top: 8px;
    color: #64748b;
    font-size: 13px;
}

.lims-pm-admin .lims-pm-period-date {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-top: 20px;
    padding: 15px;
    border-radius: 11px;
    background: #f8fafc;
}

.lims-pm-admin .lims-pm-period-date > div:not(.lims-pm-date-arrow) {
    flex: 1;
}

.lims-pm-admin .lims-pm-period-date small {
    display: block;
    color: #94a3b8;
    font-size: 11px;
    margin-bottom: 4px;
}

.lims-pm-admin .lims-pm-period-date strong {
    font-size: 13px;
}

.lims-pm-admin .lims-pm-date-arrow {
    color: #94a3b8;
    font-size: 18px;
}

.lims-pm-admin .lims-pm-outline-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 9px 13px;
    border: 1px solid #cbd5e1;
    border-radius: 9px;
    color: #334155 !important;
    background: #fff;
    text-decoration: none !important;
    font-weight: 600;
    font-size: 12px;
    transition: all .2s ease;
}

.lims-pm-admin .lims-pm-outline-button:hover {
    border-color: #2563eb;
    color: #2563eb !important;
    background: #eff6ff;
}

.lims-pm-admin .lims-pm-outline-button.small {
    padding: 8px 12px;
}


/* =========================================================
   QUICK LINKS
========================================================= */

.lims-pm-admin .lims-pm-quick-grid {
    padding: 12px;
}

.lims-pm-admin .lims-pm-quick-item {
    display: flex;
    align-items: center;
    gap: 11px;
    padding: 11px;
    border-radius: 10px;
    text-decoration: none !important;
    color: #1e293b !important;
    transition: background .2s ease;
}

.lims-pm-admin .lims-pm-quick-item:hover {
    background: #f8fafc;
}

.lims-pm-admin .lims-pm-quick-item > div {
    flex: 1;
}

.lims-pm-admin .lims-pm-quick-item strong {
    display: block;
    font-size: 13px;
}

.lims-pm-admin .lims-pm-quick-item small {
    display: block;
    margin-top: 2px;
    color: #94a3b8;
    font-size: 11px;
}

.lims-pm-admin .quick-icon {
    width: 36px;
    height: 36px;
    border-radius: 9px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lims-pm-admin .quick-icon.blue {
    background: #dbeafe;
}

.lims-pm-admin .quick-icon.green {
    background: #dcfce7;
}

.lims-pm-admin .quick-icon.purple {
    background: #ede9fe;
}

.lims-pm-admin .quick-icon.orange {
    background: #ffedd5;
}

.lims-pm-admin .quick-icon.red {
    background: #fee2e2;
}


/* =========================================================
   MODERN TABLE
========================================================= */

.lims-pm-admin .lims-pm-table-wrap {
    overflow-x: auto;
}

.lims-pm-admin .lims-pm-modern-table {
    width: 100%;
    border-collapse: collapse;
}

.lims-pm-admin .lims-pm-modern-table th {
    padding: 12px 16px;
    background: #f8fafc;
    color: #64748b;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .4px;
    text-align: left;
    white-space: nowrap;
}

.lims-pm-admin .lims-pm-modern-table td {
    padding: 13px 16px;
    border-top: 1px solid #edf2f7;
    vertical-align: middle;
    font-size: 13px;
}

.lims-pm-admin .lims-pm-modern-table tbody tr:hover {
    background: #f8fbff;
}

.lims-pm-admin .lims-pm-nim {
    font-weight: 600;
    color: #334155;
}

.lims-pm-admin .lims-pm-student {
    display: flex;
    align-items: center;
    gap: 9px;
}

.lims-pm-admin .lims-pm-avatar {
    width: 31px;
    height: 31px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #dbeafe;
    color: #1d4ed8;
    font-weight: 700;
    font-size: 12px;
}

.lims-pm-admin .lims-pm-modern-table td small {
    display: block;
    margin-top: 3px;
    color: #94a3b8;
}

.lims-pm-admin .lims-pm-class-badge {
    display: inline-block;
    padding: 4px 8px;
    border-radius: 6px;
    background: #f1f5f9;
    color: #475569;
    font-weight: 600;
    font-size: 11px;
}

.lims-pm-admin .lims-pm-schedule strong {
    display: block;
}

.lims-pm-admin .lims-pm-schedule small {
    color: #64748b !important;
}


/* =========================================================
   EMPTY STATE
========================================================= */

.lims-pm-admin .lims-pm-empty-modern {
    min-height: 160px;
    padding: 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.lims-pm-admin .lims-pm-empty-icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    background: #f1f5f9;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    margin-bottom: 12px;
}

.lims-pm-admin .lims-pm-empty-modern strong {
    font-size: 14px;
}

.lims-pm-admin .lims-pm-empty-modern span {
    margin-top: 5px;
    color: #94a3b8;
    font-size: 12px;
}


/* =========================================================
   MATA KULIAH LAYOUT
========================================================= */

.lims-pm-admin .lims-pm-course-layout {
    display: grid;
    grid-template-columns: 350px minmax(0, 1fr);
    gap: 20px;
    align-items: start;
}


/* =========================================================
   FORM CARD
========================================================= */

.lims-pm-admin .lims-pm-form-card {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(15,23,42,.05);
}

.lims-pm-admin .lims-pm-form-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 19px;
    border-bottom: 1px solid #edf2f7;
}

.lims-pm-admin .lims-pm-form-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: #ede9fe;
    color: #6d28d9;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    font-weight: 700;
}

.lims-pm-admin .lims-pm-form-header h3 {
    margin: 0;
    font-size: 16px;
}

.lims-pm-admin .lims-pm-form-header p {
    margin: 3px 0 0;
    color: #94a3b8;
    font-size: 11px;
}

.lims-pm-admin .lims-pm-form-card form {
    padding: 20px;
}

.lims-pm-admin .lims-pm-form-group {
    margin-bottom: 15px;
}

.lims-pm-admin .lims-pm-form-group label {
    display: block;
    margin-bottom: 6px;
    color: #334155;
    font-size: 12px;
    font-weight: 600;
}

.lims-pm-admin .lims-pm-form-group label span {
    color: #dc2626;
}

.lims-pm-admin .lims-pm-form-group input,
.lims-pm-admin .lims-pm-form-group select,
.lims-pm-admin .lims-pm-form-group textarea {
    width: 100%;
    min-height: 40px;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    padding: 8px 10px;
    box-shadow: none;
    font-size: 13px;
}

.lims-pm-admin .lims-pm-form-group textarea {
    resize: vertical;
}

.lims-pm-admin .lims-pm-form-group input:focus,
.lims-pm-admin .lims-pm-form-group select:focus,
.lims-pm-admin .lims-pm-form-group textarea:focus {
    border-color: #2563eb;
    box-shadow: 0 0 0 2px rgba(37,99,235,.10);
    outline: none;
}

.lims-pm-admin .lims-pm-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.lims-pm-admin .lims-pm-save-button {
    width: 100%;
    min-height: 43px;
    border: 0;
    border-radius: 9px;
    background: #2563eb;
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    transition: all .2s ease;
}

.lims-pm-admin .lims-pm-save-button:hover {
    background: #1d4ed8;
    transform: translateY(-1px);
}

.lims-pm-admin .lims-pm-save-button span {
    margin-right: 5px;
}


/* =========================================================
   COURSE LIST
========================================================= */

.lims-pm-admin .lims-pm-course-list {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(15,23,42,.05);
}

.lims-pm-admin .lims-pm-list-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    padding: 19px 21px;
    border-bottom: 1px solid #edf2f7;
}

.lims-pm-admin .lims-pm-list-header h3 {
    margin: 2px 0 0;
    font-size: 17px;
}

.lims-pm-admin .lims-pm-total-badge {
    padding: 7px 11px;
    border-radius: 8px;
    background: #eff6ff;
    color: #1d4ed8;
    font-size: 11px;
    font-weight: 700;
}

.lims-pm-admin .lims-pm-course-table-wrap {
    overflow-x: auto;
}

.lims-pm-admin .lims-pm-course-table {
    width: 100%;
    border-collapse: collapse;
}

.lims-pm-admin .lims-pm-course-table th {
    padding: 12px 15px;
    background: #f8fafc;
    color: #64748b;
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: .5px;
    text-align: left;
}

.lims-pm-admin .lims-pm-course-table td {
    padding: 15px;
    border-top: 1px solid #edf2f7;
    vertical-align: middle;
    font-size: 13px;
}

.lims-pm-admin .lims-pm-course-table tbody tr {
    transition: background .15s ease;
}

.lims-pm-admin .lims-pm-course-table tbody tr:hover {
    background: #f8fbff;
}

.lims-pm-admin .lims-pm-course-code {
    display: inline-block;
    padding: 6px 9px;
    border-radius: 7px;
    background: #eff6ff;
    color: #1d4ed8;
    font-size: 11px;
    font-weight: 700;
}

.lims-pm-admin .lims-pm-course-name strong {
    display: block;
    color: #1e293b;
}

.lims-pm-admin .lims-pm-course-name small {
    display: block;
    max-width: 300px;
    margin-top: 4px;
    color: #94a3b8;
    font-size: 11px;
}

.lims-pm-admin .lims-pm-prodi-badge {
    display: inline-block;
    padding: 5px 9px;
    border-radius: 7px;
    background: #f1f5f9;
    color: #475569;
    font-size: 11px;
    font-weight: 600;
}

.lims-pm-admin .lims-pm-semester {
    color: #475569;
    font-size: 11px;
    font-weight: 600;
}

.lims-pm-admin .lims-pm-muted {
    color: #94a3b8;
    font-size: 12px;
}

.lims-pm-admin .course-empty {
    padding: 60px 20px;
}


/* =========================================================
   RESPONSIVE
========================================================= */

@media screen and (max-width: 1200px) {

    .lims-pm-admin .lims-pm-stat-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .lims-pm-admin .lims-pm-course-layout {
        grid-template-columns: 320px minmax(0, 1fr);
    }

}

@media screen and (max-width: 900px) {

    .lims-pm-admin .lims-pm-hero {
        align-items: flex-start;
        flex-direction: column;
    }

    .lims-pm-admin .lims-pm-dashboard-grid {
        grid-template-columns: 1fr;
    }

    .lims-pm-admin .lims-pm-course-layout {
        grid-template-columns: 1fr;
    }

}

@media screen and (max-width: 700px) {

    .lims-pm-admin .lims-pm-stat-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .lims-pm-admin .lims-pm-page-header {
        align-items: flex-start;
        flex-direction: column;
    }

    .lims-pm-admin .lims-pm-hero {
        padding: 22px;
    }

    .lims-pm-admin .lims-pm-hero-content {
        align-items: flex-start;
    }

    .lims-pm-admin .lims-pm-period-date {
        flex-direction: column;
        align-items: flex-start;
    }

    .lims-pm-admin .lims-pm-date-arrow {
        display: none;
    }

}

@media screen and (max-width: 480px) {

    .lims-pm-admin .lims-pm-stat-grid {
        grid-template-columns: 1fr;
    }

    .lims-pm-admin .lims-pm-form-row {
        grid-template-columns: 1fr;
    }

}


/* =========================================================
   ADMIN HARDENING / SCOPE
   Prevent WordPress admin/global styles from breaking layout.
========================================================= */

.wrap.lims-pm-admin .lims-pm-stat-grid {
    display: grid !important;
    grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
    gap: 15px !important;
    width: 100% !important;
    margin: 0 0 20px !important;
}

.wrap.lims-pm-admin .lims-pm-dashboard-grid {
    display: grid !important;
    grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr) !important;
    gap: 18px !important;
    width: 100% !important;
}

.wrap.lims-pm-admin .lims-pm-stat-card {
    display: block !important;
    width: auto !important;
    min-width: 0 !important;
    float: none !important;
    position: relative;
}

.wrap.lims-pm-admin .lims-pm-dashboard-grid > *,
.wrap.lims-pm-admin .lims-pm-stat-grid > * {
    min-width: 0 !important;
    float: none !important;
}

.wrap.lims-pm-admin .lims-pm-modern-table,
.wrap.lims-pm-admin .lims-pm-course-table {
    width: 100% !important;
    max-width: none !important;
    border-spacing: 0 !important;
}

.wrap.lims-pm-admin .lims-pm-modern-table th,
.wrap.lims-pm-admin .lims-pm-modern-table td,
.wrap.lims-pm-admin .lims-pm-course-table th,
.wrap.lims-pm-admin .lims-pm-course-table td {
    box-sizing: border-box !important;
}

.wrap.lims-pm-admin .lims-pm-hero-content,
.wrap.lims-pm-admin .lims-pm-stat-top,
.wrap.lims-pm-admin .lims-pm-panel-header,
.wrap.lims-pm-admin .lims-pm-list-header,
.wrap.lims-pm-admin .lims-pm-student {
    float: none !important;
}

@media screen and (max-width: 1200px) {
    .wrap.lims-pm-admin .lims-pm-stat-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    }
}

@media screen and (max-width: 900px) {
    .wrap.lims-pm-admin .lims-pm-dashboard-grid {
        grid-template-columns: 1fr !important;
    }
}

@media screen and (max-width: 700px) {
    .wrap.lims-pm-admin .lims-pm-stat-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }
}

@media screen and (max-width: 480px) {
    .wrap.lims-pm-admin .lims-pm-stat-grid {
        grid-template-columns: 1fr !important;
    }
}


/* ==========================================================
   SILAB PRAKTIKUM - CRUD LAYOUT PATCH
   Untuk Periode, Kelas, dan Jadwal
   Scope: .lims-pm-admin agar tidak mengganggu dashboard mahasiswa
   ========================================================== */

.lims-pm-admin .lims-pm-crud-card {
    border: 1px solid #d9e1ec;
    border-radius: 14px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 4px 16px rgba(31, 41, 55, .05);
    margin-top: 18px;
    padding: 0;
}

.lims-pm-admin .lims-pm-crud-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 22px 24px;
    border-bottom: 1px solid #e8edf4;
    background: #fbfcfe;
}

.lims-pm-admin .lims-pm-crud-header h2 {
    margin: 4px 0 5px;
    font-size: 20px;
    line-height: 1.3;
    color: #172033;
}

.lims-pm-admin .lims-pm-crud-header p {
    margin: 0;
    color: #6b7280;
    font-size: 13px;
}

.lims-pm-admin .lims-pm-crud-count {
    flex: 0 0 auto;
    padding: 9px 14px;
    border: 1px solid #dbe3ee;
    border-radius: 999px;
    background: #fff;
    color: #334155;
    font-weight: 600;
    font-size: 13px;
}

.lims-pm-admin .lims-pm-form-grid {
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    gap: 14px;
    padding: 20px 22px;
    margin: 0;
    border: 0;
    border-radius: 0;
    background: #f8fafc;
    position: relative;
}

/* Garis pembatas utama antara blok input dan blok pencarian */
.lims-pm-admin .lims-pm-form-grid::after {
    content: "";
    position: absolute;
    left: 22px;
    right: 22px;
    bottom: 0;
    height: 1px;
    background: #d9e1ec;
}

.lims-pm-admin .lims-pm-form-field {
    min-width: 0;
}

.lims-pm-admin .lims-pm-form-field.span-1 { grid-column: span 1; }
.lims-pm-admin .lims-pm-form-field.span-2 { grid-column: span 2; }
.lims-pm-admin .lims-pm-form-field.span-3 { grid-column: span 3; }
.lims-pm-admin .lims-pm-form-field.span-4 { grid-column: span 4; }
.lims-pm-admin .lims-pm-form-field.span-6 { grid-column: span 6; }

.lims-pm-admin .lims-pm-form-field label {
    display: block;
    margin: 0 0 6px;
    color: #334155;
    font-size: 12px;
    line-height: 1.3;
    font-weight: 600;
}

.lims-pm-admin .lims-pm-form-field label span {
    color: #dc2626;
}

.lims-pm-admin .lims-pm-form-field input,
.lims-pm-admin .lims-pm-form-field select {
    width: 100%;
    min-height: 40px;
    box-sizing: border-box;
    margin: 0;
    border: 1px solid #cbd5e1;
    border-radius: 7px;
    background: #fff;
    padding: 7px 10px;
    color: #1f2937;
}

.lims-pm-admin .lims-pm-form-field input:focus,
.lims-pm-admin .lims-pm-form-field select:focus,
.lims-pm-admin .lims-pm-search-toolbar input:focus,
.lims-pm-admin .lims-pm-search-toolbar select:focus {
    border-color: #4263eb;
    box-shadow: 0 0 0 2px rgba(66, 99, 235, .12);
    outline: none;
}

.lims-pm-admin .lims-pm-form-action {
    display: flex;
    align-items: flex-end;
    gap: 8px;
}

.lims-pm-admin .lims-pm-form-action .button {
    min-height: 40px;
    padding: 0 16px;
}

.lims-pm-admin .lims-pm-search-toolbar {
    display: grid;
    grid-template-columns: minmax(280px, 1fr) 190px 170px auto auto;
    gap: 10px;
    align-items: center;
    margin: 0;
    padding: 18px 22px;
    background: #ffffff;
    border-top: 6px solid #f1f5f9;
    border-bottom: 1px solid #e8edf4;
    position: relative;
}

/* Label visual agar area pencarian terasa sebagai blok tersendiri */
.lims-pm-admin .lims-pm-search-toolbar::before {
    content: "PENCARIAN & FILTER";
    position: absolute;
    top: 7px;
    left: 22px;
    transform: translateY(-50%);
    padding: 0 8px;
    background: #ffffff;
    color: #64748b;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .06em;
}

.lims-pm-admin .lims-pm-search-main {
    position: relative;
    min-width: 0;
}

.lims-pm-admin .lims-pm-search-main > span {
    position: absolute;
    left: 11px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1;
    font-size: 14px;
}

.lims-pm-admin .lims-pm-search-main input {
    width: 100%;
    min-height: 39px;
    box-sizing: border-box;
    padding: 7px 10px 7px 34px;
    border: 1px solid #cbd5e1;
    border-radius: 7px;
}

.lims-pm-admin .lims-pm-search-toolbar select {
    width: 100%;
    min-height: 39px;
    box-sizing: border-box;
    border: 1px solid #cbd5e1;
    border-radius: 7px;
    background: #fff;
}

.lims-pm-admin .lims-pm-search-toolbar .button {
    min-height: 39px;
    white-space: nowrap;
}

.lims-pm-admin .lims-pm-table-wrap {
    overflow-x: auto;
    margin: 18px 22px 0;
    border: 1px solid #dfe6ef;
    border-radius: 10px;
    background: #fff;
}

.lims-pm-admin .lims-pm-crud-table {
    width: 100%;
    min-width: 760px;
    border: 0;
    margin: 0;
    border-collapse: collapse;
}

.lims-pm-admin .lims-pm-crud-table th {
    padding: 11px 12px;
    background: #f5f7fa;
    border-bottom: 1px solid #dfe6ef;
    color: #475569;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .03em;
    white-space: nowrap;
}

.lims-pm-admin .lims-pm-crud-table td {
    padding: 12px;
    vertical-align: middle;
    border-bottom: 1px solid #edf1f5;
    color: #334155;
    font-size: 13px;
}

.lims-pm-admin .lims-pm-crud-table tbody tr:last-child td {
    border-bottom: 0;
}

.lims-pm-admin .lims-pm-crud-table tbody tr:hover td {
    background: #fbfdff;
}

.lims-pm-admin .lims-pm-crud-table td strong {
    display: block;
    color: #1e293b;
}

.lims-pm-admin .lims-pm-crud-table td small {
    display: block;
    margin-top: 3px;
    color: #64748b;
    line-height: 1.4;
}

.lims-pm-admin .lims-pm-crud-table .col-actions {
    width: 135px;
    text-align: center;
}

.lims-pm-admin .lims-pm-actions {
    white-space: nowrap;
    text-align: center;
}

.lims-pm-admin .lims-pm-actions .button {
    margin: 0 2px;
}

.lims-pm-admin .lims-pm-number-badge,
.lims-pm-admin .lims-pm-day-badge,
.lims-pm-admin .lims-pm-lab-badge {
    display: inline-flex;
    align-items: center;
    min-height: 27px;
    padding: 3px 9px;
    border-radius: 999px;
    background: #f1f5f9;
    color: #334155;
    font-size: 12px;
    font-weight: 600;
    white-space: nowrap;
}

.lims-pm-admin .lims-pm-day-badge {
    background: #eef2ff;
    color: #3730a3;
}

.lims-pm-admin .lims-pm-lab-badge {
    background: #ecfdf5;
    color: #047857;
}

.lims-pm-admin .lims-pm-datetime-range {
    display: flex;
    align-items: center;
    gap: 7px;
    flex-wrap: wrap;
}

.lims-pm-admin .lims-pm-datetime-range span {
    white-space: nowrap;
}

.lims-pm-admin .lims-pm-datetime-range b {
    color: #94a3b8;
}

.lims-pm-admin .lims-pm-empty-row {
    padding: 28px 10px;
    text-align: center;
    color: #64748b;
}

.lims-pm-admin .lims-pm-pagination {
    margin: 16px 22px 20px;
}

.lims-pm-admin .lims-pm-pagination .page-numbers {
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.lims-pm-admin .lims-pm-pagination ul.page-numbers {
    margin: 0;
}

.lims-pm-admin .lims-pm-pagination .page-numbers a,
.lims-pm-admin .lims-pm-pagination .page-numbers span {
    min-width: 32px;
    min-height: 32px;
    padding: 5px 9px;
    box-sizing: border-box;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #d6deea;
    border-radius: 6px;
    background: #fff;
    text-decoration: none;
}

.lims-pm-admin .lims-pm-pagination .page-numbers .current {
    background: #4263eb;
    border-color: #4263eb;
    color: #fff;
}

.lims-pm-admin .lims-pm-pagination .page-numbers a:hover {
    background: #f1f5f9;
}

/* Kelas: laboratorium menjadi satu-satunya lokasi. */
.lims-pm-admin .lims-pm-crud-kelas .lims-pm-class-form {
    grid-template-columns: repeat(12, minmax(0, 1fr));
}

/* Jadwal: tanggal pelaksanaan dibuat satu baris yang rapi. */
.lims-pm-admin .lims-pm-crud-jadwal .lims-pm-schedule-form {
    grid-template-columns: repeat(12, minmax(0, 1fr));
}

@media (max-width: 1100px) {
    .lims-pm-admin .lims-pm-search-toolbar {
        grid-template-columns: 1fr 1fr 1fr auto auto;
    }

    .lims-pm-admin .lims-pm-form-field.span-4,
    .lims-pm-admin .lims-pm-form-field.span-3 {
        grid-column: span 6;
    }

    .lims-pm-admin .lims-pm-form-field.span-2 {
        grid-column: span 4;
    }

    .lims-pm-admin .lims-pm-form-field.span-1 {
        grid-column: span 3;
    }
}

@media (max-width: 782px) {
    .lims-pm-admin .lims-pm-search-toolbar::before {
        display: none;
    }

    .lims-pm-admin .lims-pm-crud-header {
        align-items: flex-start;
        flex-direction: column;
    }

    .lims-pm-admin .lims-pm-form-grid,
    .lims-pm-admin .lims-pm-crud-kelas .lims-pm-class-form,
    .lims-pm-admin .lims-pm-crud-jadwal .lims-pm-schedule-form {
        grid-template-columns: 1fr;
    }

    .lims-pm-admin .lims-pm-form-field.span-1,
    .lims-pm-admin .lims-pm-form-field.span-2,
    .lims-pm-admin .lims-pm-form-field.span-3,
    .lims-pm-admin .lims-pm-form-field.span-4,
    .lims-pm-admin .lims-pm-form-field.span-6 {
        grid-column: span 1;
    }

    .lims-pm-admin .lims-pm-search-toolbar {
        grid-template-columns: 1fr;
        padding: 16px 18px;
        border-top-width: 4px;
    }

    .lims-pm-admin .lims-pm-form-grid {
        padding: 18px;
    }

    .lims-pm-admin .lims-pm-form-grid::after {
        left: 18px;
        right: 18px;
    }

    .lims-pm-admin .lims-pm-table-wrap {
        margin-left: 18px;
        margin-right: 18px;
    }

    .lims-pm-admin .lims-pm-pagination {
        margin-left: 18px;
        margin-right: 18px;
    }

    .lims-pm-admin .lims-pm-form-action {
        align-items: stretch;
        flex-direction: column;
    }
}


/* =========================================================
   EXPORT BUTTON / CRUD HEADER ACTIONS
   ========================================================= */
.lims-pm-admin .lims-pm-crud-header-actions,
.lims-pm-admin .lims-pm-page-header-actions,
.lims-pm-admin .lims-pm-registration-header {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 10px;
    flex-wrap: wrap;
}

.lims-pm-admin .lims-pm-export-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 38px;
    padding: 0 13px;
    border-color: #cbd5e1 !important;
    background: #fff !important;
    color: #334155 !important;
    text-decoration: none !important;
    font-weight: 600;
    white-space: nowrap;
}

.lims-pm-admin .lims-pm-export-button:hover {
    border-color: #2563eb !important;
    background: #eff6ff !important;
    color: #1d4ed8 !important;
}

.lims-pm-admin .lims-pm-registration-header {
    padding: 12px 12px 12px 12px;
    border-bottom: 1px solid #e8edf4;
    background: #fbfcfe;
}

.lims-pm-admin .lims-pm-registration-header .hndle {
    flex: 1;
    margin: 0;
    padding: 0;
    border: 0;
}

@media screen and (max-width: 782px) {
    .lims-pm-admin .lims-pm-crud-header-actions,
    .lims-pm-admin .lims-pm-page-header-actions,
    .lims-pm-admin .lims-pm-registration-header {
        justify-content: flex-start;
        width: 100%;
    }

    .lims-pm-admin .lims-pm-export-button {
        width: 100%;
    }
}





/* ============================================================
   LIMS PRAKTIKUM
   PUBLIC FRONTEND
   SCHEDULE TABLE
   ============================================================ */

.lims-pm-public-schedule {
    width: 100%;
    max-width: 1180px;

    margin: 30px auto;
    padding: 0 20px;

    color: #1f2937;
}


/* ============================================================
   TABLE CARD
   ============================================================ */

.lims-pm-public-table-card {
    width: 100%;

    background: #ffffff;

    border: 1px solid #e7ebf0;
    border-radius: 14px;

    box-shadow:
        0 3px 14px rgba(15, 23, 42, 0.05);

    overflow: hidden;
}


/* ============================================================
   TOOLBAR
   ============================================================ */

.lims-pm-public-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;

    min-height: 58px;

    padding: 12px 14px;

    background: #ffffff;

    border-bottom: 1px solid #e4e8ed;
}


/* ============================================================
   SHOW DATA
   ============================================================ */

.lims-pm-public-length {
    display: flex;
    align-items: center;

    gap: 5px;

    color: #475569;

    font-size: 10px;
}

.lims-pm-public-length span {
    white-space: nowrap;
}

.lims-pm-public-length select {
    width: 44px;
    height: 27px;

    margin: 0 !important;

    padding: 3px 5px !important;

    border: 1px solid #cbd5e1 !important;
    border-radius: 5px !important;

    background: #ffffff !important;

    color: #334155 !important;

    font-size: 10px !important;

    line-height: 1;

    outline: none;
}

.lims-pm-public-length select:focus {
    border-color: #2563eb !important;

    box-shadow:
        0 0 0 2px rgba(37, 99, 235, .08);
}


/* ============================================================
   SEARCH
   ============================================================ */

.lims-pm-public-search {
    display: flex;
    align-items: center;

    gap: 7px;
}

.lims-pm-public-search label {
    margin: 0;

    color: #475569;

    font-size: 10px;

    font-weight: 500;

    white-space: nowrap;
}

.lims-pm-search-input-wrap {
    position: relative;
}

.lims-pm-search-icon {
    position: absolute;

    left: 8px;
    top: 50%;

    transform: translateY(-50%);

    color: #94a3b8;

    font-size: 10px;

    line-height: 1;

    pointer-events: none;
}

.lims-pm-public-search input {
    width: 145px;
    height: 27px;

    margin: 0 !important;

    padding: 4px 8px 4px 26px !important;

    border: 1px solid #cbd5e1 !important;
    border-radius: 5px !important;

    background: #ffffff !important;

    color: #334155 !important;

    font-size: 10px !important;

    outline: none;
}

.lims-pm-public-search input:focus {
    border-color: #2563eb !important;

    box-shadow:
        0 0 0 2px rgba(37, 99, 235, .08);
}


/* ============================================================
   TABLE WRAPPER
   ============================================================ */

.lims-pm-public-table-wrap {
    width: 100%;

    overflow-x: auto;
}


/* ============================================================
   TABLE
   ============================================================ */

.lims-pm-public-table {
    width: 100% !important;

    min-width: 1050px;

    margin: 0 !important;

    border-collapse: separate !important;
    border-spacing: 0 !important;

    background: #ffffff;

    table-layout: auto;
}


/* ============================================================
   TABLE HEADER
   ============================================================ */

.lims-pm-public-table thead th {
    padding: 9px 9px !important;

    border: none !important;

    border-right: 1px solid #c8d8eb !important;
    border-bottom: 1px solid #bfd0e3 !important;

    background: #dbe9f8 !important;

    color: #334155 !important;

    font-size: 9px !important;

    font-weight: 700 !important;

    line-height: 1.3;

    text-align: left;

    white-space: nowrap;

    vertical-align: middle;
}

.lims-pm-public-table thead th:last-child {
    border-right: none !important;
}


/* ============================================================
   TABLE BODY
   ============================================================ */

.lims-pm-public-table tbody td {
    padding: 9px 9px !important;

    border: none !important;

    border-right: 1px solid #e1e6eb !important;
    border-bottom: 1px solid #d8dde3 !important;

    background: #ffffff !important;

    color: #334155 !important;

    font-size: 9px !important;

    line-height: 1.4;

    vertical-align: middle;
}

.lims-pm-public-table tbody td:last-child {
    border-right: none !important;
}

.lims-pm-public-table tbody tr:last-child td {
    border-bottom: none !important;
}

.lims-pm-public-table tbody tr:hover td {
    background: #f8fbff !important;
}


/* ============================================================
   COLUMN WIDTH
   ============================================================ */

.lims-pm-public-table .col-no {
    width: 42px;

    text-align: center;
}

.lims-pm-public-table .col-code {
    width: 105px;
}

.lims-pm-public-table .col-course {
    min-width: 175px;
}

.lims-pm-public-table .col-class {
    width: 75px;
}

.lims-pm-public-table .col-day {
    width: 70px;
}

.lims-pm-public-table .col-time {
    width: 105px;
}

.lims-pm-public-table .col-period {
    width: 145px;

    min-width: 145px;
}

.lims-pm-public-table .col-quota {
    width: 60px;

    text-align: center;
}

.lims-pm-public-table .col-available {
    width: 80px;

    text-align: center;
}

.lims-pm-public-table .col-action {
    width: 78px;

    text-align: center;
}


/* ============================================================
   NUMBER
   ============================================================ */

.lims-pm-row-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-width: 24px;
    height: 23px;

    padding: 0 5px;

    border-radius: 4px;

    background: #f1f5f9;

    color: #64748b;

    font-size: 9px;

    font-weight: 600;
}


/* ============================================================
   CODE
   ============================================================ */

.lims-pm-public-table .lims-pm-code strong {
    color: #334155;

    font-size: 9px;

    font-weight: 700;

    white-space: nowrap;
}


/* ============================================================
   COURSE
   ============================================================ */

.lims-pm-public-table .lims-pm-course strong {
    display: block;

    color: #334155;

    font-size: 9px;

    font-weight: 600;

    line-height: 1.35;
}

.lims-pm-public-table .lims-pm-course small {
    display: block;

    margin-top: 2px;

    color: #94a3b8;

    font-size: 8px;

    line-height: 1.3;
}


/* ============================================================
   CLASS
   ============================================================ */

.lims-pm-public-table .lims-pm-class strong {
    color: #334155;

    font-size: 9px;

    font-weight: 600;
}


/* ============================================================
   DAY
   ============================================================ */

.lims-pm-public-table .lims-pm-day {
    color: #475569 !important;

    font-weight: 500;

    white-space: nowrap;
}


/* ============================================================
   TIME
   ============================================================ */

.lims-pm-public-table .lims-pm-time {
    color: #334155 !important;

    font-size: 9px !important;

    font-weight: 600;

    white-space: nowrap;
}


/* ============================================================
   PERIOD
   ============================================================ */

.lims-pm-public-table .lims-pm-period {
    color: #475569 !important;

    font-size: 9px !important;

    font-weight: 500;

    white-space: nowrap;
}


/* ============================================================
   QUOTA
   ============================================================ */

.lims-pm-public-table .lims-pm-quota {
    color: #334155 !important;

    font-weight: 600;

    text-align: center;
}


/* ============================================================
   AVAILABLE
   ============================================================ */

.lims-pm-badge-available {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-width: 30px;
    min-height: 21px;

    padding: 3px 7px;

    border-radius: 4px;

    background: #198754;

    color: #ffffff;

    font-size: 8px;

    font-weight: 700;

    line-height: 1;
}

.lims-pm-badge-full {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-width: 38px;
    min-height: 21px;

    padding: 3px 7px;

    border-radius: 4px;

    background: #dc3545;

    color: #ffffff;

    font-size: 8px;

    font-weight: 700;

    line-height: 1;
}


/* ============================================================
   REGISTER BUTTON
   ============================================================ */

.lims-pm-register-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-width: 58px;
    min-height: 25px;

    padding: 4px 9px;

    border: none !important;
    border-radius: 5px;

    background: #0d6efd;

    color: #ffffff !important;

    font-size: 8px;

    font-weight: 600;

    line-height: 1;

    text-decoration: none !important;

    cursor: pointer;

    transition:
        background .15s ease,
        transform .15s ease;
}

.lims-pm-register-btn:hover {
    background: #0b5ed7;

    color: #ffffff !important;

    text-decoration: none !important;

    transform: translateY(-1px);
}


/* ============================================================
   FULL BUTTON
   ============================================================ */

.lims-pm-action-full {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-width: 58px;
    min-height: 25px;

    padding: 4px 8px;

    border-radius: 5px;

    background: #e9ecef;

    color: #6c757d;

    font-size: 8px;

    font-weight: 600;

    line-height: 1;
}


/* ============================================================
   EMPTY
   ============================================================ */

.lims-pm-public-empty {
    padding: 35px 20px;

    color: #94a3b8;

    font-size: 10px;

    text-align: center;
}


/* ============================================================
   FOOTER
   ============================================================ */

.lims-pm-public-table-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;

    min-height: 62px;

    padding: 12px 15px;

    border-top: 1px solid #e4e8ed;

    background: #ffffff;
}


/* ============================================================
   TABLE INFO
   ============================================================ */

.lims-pm-public-info {
    color: #475569;

    font-size: 9px;

    line-height: 1.4;
}


/* ============================================================
   PAGINATION
   ============================================================ */

.lims-pm-public-pagination {
    display: flex;
    align-items: center;

    gap: 6px;
}


/* ============================================================
   PAGE BUTTON
   ============================================================ */

.lims-pm-page-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-width: 29px;
    height: 29px;

    margin: 0 !important;

    padding: 4px 7px !important;

    border: 1px solid #dbe5f0 !important;
    border-radius: 6px !important;

    background: #ffffff !important;

    color: #2563eb !important;

    font-family: inherit;

    font-size: 9px !important;

    font-weight: 500;

    line-height: 1;

    cursor: pointer;

    box-shadow: none !important;

    outline: none !important;
}

.lims-pm-page-button:hover:not(:disabled) {
    border-color: #2563eb !important;

    background: #eff6ff !important;

    color: #2563eb !important;
}

.lims-pm-page-button.active {
    border-color: #2563eb !important;

    background: #2563eb !important;

    color: #ffffff !important;

    font-weight: 700;
}

.lims-pm-page-button:disabled {
    opacity: .55;

    cursor: default;

    background: #f1f5f9 !important;

    color: #94a3b8 !important;
}


/* ============================================================
   DOTS
   ============================================================ */

.lims-pm-page-dots {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    width: 20px;
    height: 29px;

    color: #64748b;

    font-size: 11px;

    line-height: 1;
}


/* ============================================================
   MOBILE
   ============================================================ */

@media (max-width: 700px) {

    .lims-pm-public-schedule {
        margin: 20px auto;

        padding: 0 10px;
    }


    .lims-pm-public-toolbar {
        align-items: flex-start;

        flex-direction: column;

        gap: 12px;

        padding: 13px;
    }


    .lims-pm-public-search {
        width: 100%;
    }


    .lims-pm-search-input-wrap {
        flex: 1;
    }


    .lims-pm-public-search input {
        width: 100%;
    }


    .lims-pm-public-table {
        min-width: 1050px;
    }


    .lims-pm-public-table-footer {
        align-items: flex-start;

        flex-direction: column;

        gap: 12px;

        padding: 13px;
    }


    .lims-pm-public-pagination {
        width: 100%;

        justify-content: flex-end;

        flex-wrap: wrap;
    }

}


/* ============================================================
   SMALL MOBILE
   ============================================================ */

@media (max-width: 420px) {

    .lims-pm-public-pagination {
        justify-content: center;
    }

}