.manage-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    margin-top: 1.5rem;
}
@media (min-width: 992px) {
    .manage-grid {
        grid-template-columns: 380px 1fr;
    }
}

.card-premium {
    background: #ffffff;
    border-radius: 14px;
    padding: 1.75rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.04), 0 2px 4px -2px rgba(0, 0, 0, 0.02);
    border: 1px solid #e2e8f0;
    margin-bottom: 1.5rem;
}

.card-title {
    font-size: 1.15rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 1.25rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid #f1f5f9;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.alert {
    padding: 1rem 1.25rem;
    border-radius: 10px;
    margin-bottom: 1.5rem;
    font-weight: 500;
    font-size: 0.925rem;
    display: flex;
    align-items: center;
    gap: 10px;
}
.alert.success { background-color: #ecfdf5; color: #065f46; border: 1px solid #a7f3d0; }
.alert.error { background-color: #fef2f2; color: #991b1b; border: 1px solid #fca5a5; }

.badge-kat {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 0.25rem 0.65rem;
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
}
.badge-slip { background: #d1fae5; color: #065f46; border: 1px solid #a7f3d0; }
.badge-info { background: #e0f2fe; color: #0369a1; border: 1px solid #bae6fd; }
.badge-tugas { background: #fef3c7; color: #b45309; border: 1px solid #fde68a; }
.badge-pengumuman { background: #f3e8ff; color: #6b21a8; border: 1px solid #e9d5ff; }
.badge-default { background: #f1f5f9; color: #475569; border: 1px solid #cbd5e1; }

.btn-action {
    padding: 0.4rem 0.7rem;
    border-radius: 6px;
    font-size: 0.8rem;
    font-weight: 600;
    cursor: pointer;
    border: none;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    text-decoration: none;
    transition: all 0.2s;
}
.btn-edit { background: #e0e7ff; color: #4338ca; border: 1px solid #c7d2fe; }
.btn-edit:hover { background: #4338ca; color: white; }
.btn-delete { background: #fef2f2; color: #ef4444; border: 1px solid #fee2e2; }
.btn-delete:hover { background: #ef4444; color: white; }

.form-group-custom {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-bottom: 1.1rem;
}
.form-group-custom label {
    font-size: 0.875rem;
    font-weight: 600;
    color: #475569;
}
.form-control-custom {
    width: 100%;
    padding: 0.65rem 0.875rem;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    font-size: 0.9rem;
    outline: none;
    box-sizing: border-box;
    background: #fff;
    transition: all 0.2s;
}
.form-control-custom:focus {
    border-color: #2563eb;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.12);
}

.btn-primary-custom {
    background: #2563eb;
    color: white;
    padding: 0.75rem 1.25rem;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.9rem;
    border: none;
    cursor: pointer;
    transition: background 0.2s;
    width: 100%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}
.btn-primary-custom:hover { background: #1d4ed8; }

.modal-overlay {
    display: none;
    position: fixed;
    z-index: 9999;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(15, 23, 42, 0.55);
    backdrop-filter: blur(4px);
    align-items: center;
    justify-content: center;
    padding: 1rem;
}
.modal-box {
    background: white;
    border-radius: 14px;
    width: 100%;
    max-width: 550px;
    box-shadow: 0 20px 25px -5px rgba(0,0,0,0.1);
    overflow: hidden;
}
.modal-header {
    padding: 1.25rem 1.5rem;
    background: #f8fafc;
    border-bottom: 1px solid #e2e8f0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.modal-body { padding: 1.5rem; }
.modal-footer {
    padding: 1rem 1.5rem;
    background: #f8fafc;
    border-top: 1px solid #e2e8f0;
    display: flex;
    justify-content: flex-end;
    gap: 10px;
}
