/* === MODERN BURGUNDY THEME: CRUD GURU === */

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: 'Poppins', sans-serif;
}

/* Container Utama */
.container-guru {
    max-width: 700px;
    margin: 40px auto;
    background: linear-gradient(to right, #fdfbfb, #f2f2f2);
    border-radius: 15px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    padding: 40px 30px;
}

/* Judul */
.container-guru h2 {
    text-align: center;
    color: #800000;
    font-size: 26px;
    font-weight: 700;
    margin-bottom: 25px;
    letter-spacing: 1px;
}

/* Form Input */
.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #4b4b4b;
    font-size: 14px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 8px;
    font-size: 15px;
    background-color: #fff;
    transition: all 0.2s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: #800000;
    box-shadow: 0 0 5px rgba(128, 0, 0, 0.3);
    outline: none;
}

.form-group input[type="file"] {
    padding: 8px;
}

/* Tombol Submit */
.btn-submit {
    background-color: #800000;
    color: #fff;
    border: none;
    padding: 12px 25px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 15px;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.btn-submit:hover {
    background-color: #660000;
    transform: scale(1.03);
}

/* Tombol Dashboard */
.btn-dashboard {
    background-color: #004080;
    color: white;
    padding: 10px 18px;
    border-radius: 6px;
    font-weight: 600;
    text-decoration: none;
    display: inline-block;
    margin-bottom: 15px;
    transition: background-color 0.3s ease;
}

.btn-dashboard:hover {
    background-color: #002244;
}

/* Alert Message */
.alert {
    padding: 12px 18px;
    border-radius: 8px;
    margin-bottom: 20px;
    font-size: 14px;
    font-weight: 500;
}

.alert-success {
    background-color: #eafbea;
    color: #276738;
    border-left: 6px solid #28a745;
}

.alert-danger {
    background-color: #fdeeee;
    color: #8a1c1c;
    border-left: 6px solid #dc3545;
}

.highlight-yellow {
    background-color: #fffbe6;
    color: #8a6300;
}

/* Tabel */
.container-tabel {
    max-width: 95%;
    margin: 40px auto;
    padding: 25px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.08);
}

table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
}

thead {
    background-color: #800000;
    color: #fff;
}

table th,
table td {
    padding: 12px;
    text-align: left;
    border-bottom: 1px solid #eee;
}

table tr:hover {
    background-color: #f9f9f9;
    transition: background 0.3s ease;
}

table img {
    border-radius: 6px;
    max-width: 100px;
}

/* Public Guru Card */
.guru-card {
    border-radius: 15px;
    background-color: #fff;
    box-shadow: 0 8px 20px rgba(0,0,0,0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    overflow: hidden;
}

.guru-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 28px rgba(0,0,0,0.15);
}

.guru-img {
    width: 100%;
    height: 280px;
    object-fit: cover;
    object-position: center;
    border-bottom: 1px solid #eee;
}

/* Mobile Responsiveness */
@media (max-width: 576px) {
    .guru-img {
        height: 320px;
    }

    .container-guru {
        padding: 30px 20px;
    }

    table th, table td {
        padding: 8px;
        font-size: 14px;
    }
    
}
