/* Styling Utama untuk Modul Guru */
.guru-container {
    width: 100%;
}

.guru-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    flex-wrap: wrap;
    gap: 15px;
}

.guru-header h3 {
    font-size: 20px;
    font-weight: 600;
    color: #1d1d1f;
}

/* Tombol Aksi */
.btn-mac-primary {
    background: #007aff;
    color: white;
    border: none;
    padding: 10px 18px;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: background 0.2s, transform 0.1s;
    box-shadow: 0 4px 12px rgba(0, 122, 255, 0.25);
}

.btn-mac-primary:hover {
    background: #0062cc;
}

.btn-mac-secondary {
    background: #8e8e93;
    color: white;
    border: none;
    padding: 10px 18px;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-mac-danger {
    background: #ff3b30;
    color: white;
    border: none;
    padding: 6px 12px;
    border-radius: 8px;
    font-size: 13px;
    cursor: pointer;
    text-decoration: none;
}

.btn-mac-warning {
    background: #ffcc00;
    color: #1d1d1f;
    border: none;
    padding: 6px 12px;
    border-radius: 8px;
    font-size: 13px;
    cursor: pointer;
    text-decoration: none;
    font-weight: 500;
}

/* Tabel Responsif */
.table-responsive {
    width: 100%;
    overflow-x: auto;
    border-radius: 12px;
    border: 1px solid rgba(0, 0, 0, 0.08);
}

.mac-table {
    width: 100%;
    border-collapse: collapse;
    background: white;
    font-size: 14px;
    text-align: left;
    white-space: nowrap;
}

.mac-table th {
    background: #f5f5f7;
    color: #1d1d1f;
    padding: 14px 16px;
    font-weight: 600;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.mac-table td {
    padding: 14px 16px;
    color: #333;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.mac-table tr:last-child td {
    border-bottom: none;
}

.mac-table tr:hover {
    background: rgba(0, 122, 255, 0.03);
}

/* Alert Notifikasi */
.alert-success {
    background: rgba(52, 199, 89, 0.15);
    color: #248a3d;
    padding: 12px 16px;
    border-radius: 10px;
    font-size: 14px;
    margin-bottom: 20px;
    border: 1px solid rgba(52, 199, 89, 0.3);
}

.alert-danger {
    background: rgba(255, 59, 48, 0.15);
    color: #d70015;
    padding: 12px 16px;
    border-radius: 10px;
    font-size: 14px;
    margin-bottom: 20px;
    border: 1px solid rgba(255, 59, 48, 0.3);
}

/* Form Styles */
.mac-form {
    max-width: 600px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-size: 14px;
    font-weight: 500;
    color: #1d1d1f;
    margin-bottom: 8px;
}

.form-control {
    width: 100%;
    padding: 12px 14px;
    background: rgba(255, 255, 255, 0.8);
    border: 1px solid rgba(0, 0, 0, 0.15);
    border-radius: 10px;
    font-size: 14px;
    color: #1d1d1f;
    outline: none;
    transition: all 0.3s ease;
}

.form-control:focus {
    background: #ffffff;
    border-color: #007aff;
    box-shadow: 0 0 0 4px rgba(0, 122, 255, 0.15);
}

.form-actions {
    display: flex;
    gap: 10px;
    margin-top: 25px;
}