/* ===============================================
// FILE: style.css (CSS Global)
// =============================================== */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f4f7f6;
    color: #333;
}
header {
    background-color: #1a237e;
    color: white;
    padding: 20px 0 10px 0; 
    text-align: center;
}
.header-content {
    padding-bottom: 15px;
}
.school-identity {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 10px;
}
.school-identity h1 {
    font-size: 2em;
    margin: 0 0 0 15px;
    color: white;
}
.logo-icon {
    font-size: 3em; 
    line-height: 1;
    margin-right: 15px; 
}
.uploaded-logo {
    height: 70px; 
    width: auto;
    margin-right: 15px;
}
.system-title {
    font-size: 1.2em;
    margin-top: 0;
    margin-bottom: 20px;
    font-weight: 300;
}
nav {
    background-color: #3949ab; 
    padding: 10px 0;
}
nav a {
    color: white;
    text-decoration: none;
    margin: 0 15px;
    font-weight: bold;
    transition: color 0.3s;
}
nav a:hover {
    color: #90caf9;
}
main {
    max-width: 1200px;
    margin: 20px auto;
    padding: 20px;
}
.card {
    background-color: white;
    padding: 25px;
    margin-bottom: 25px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}
h2, h3 {
    color: #3949ab; 
    padding-bottom: 5px;
    margin-top: 30px;
}
.chart-container {
    width: 100%;
    max-width: 500px; 
    margin: 20px auto;
}
/* --- ADMIN LAYOUT --- */
.container {
    display: flex;
    min-height: 100vh;
}
.sidebar {
    width: 250px;
    background-color: #3949ab; 
    color: white;
    padding: 20px 0;
    box-shadow: 2px 0 5px rgba(0,0,0,0.1);
}
.logo h2 {
    text-align: center;
    margin-bottom: 30px;
    color: #ffc107; 
}
.menu ul {
    list-style: none;
    padding: 0;
}
.menu li a {
    display: block;
    padding: 15px 20px;
    text-decoration: none;
    color: white;
    transition: background-color 0.3s;
}
.menu li a:hover, .menu li a.active {
    background-color: #5c6bc0; 
    border-left: 5px solid #ffc107;
    padding-left: 15px;
}
.content {
    flex-grow: 1;
    padding: 20px 40px;
}
.content-header {
    margin-bottom: 30px;
    border-bottom: 1px solid #ccc;
    padding-bottom: 15px;
}
/* --- FORM STYLING --- */
.form-group {
    margin-bottom: 15px;
}
.form-group label {
    display: block;
    font-weight: bold;
    margin-bottom: 5px;
    color: #555;
}
.form-group input[type="text"],
.form-group input[type="password"],
.form-group select,
.form-group input[type="file"] {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box; 
}
.btn-submit {
    background-color: #4CAF50; 
    color: white;
    padding: 12px 20px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    margin-right: 10px;
}
.btn-reset {
    background-color: #f44336; 
    color: white;
    padding: 12px 20px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}
/* --- NOTIFIKASI --- */
.notification {
    padding: 15px;
    margin-bottom: 20px;
    border-radius: 4px;
    font-weight: bold;
}
.notification.success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}
.notification.error {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}
/* --- SLIDER STYLING --- */
#photo-slider {
    position: relative;
    max-width: 1200px;
    margin: 20px auto;
    overflow: hidden; 
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.15);
}
.slider-container {
    display: flex; 
    width: 500%; 
    transition: transform 0.5s ease-in-out; 
}
.slide {
    width: 100%; 
    flex-shrink: 0;
    position: relative;
}
.slide img {
    width: 100%;
    height: 400px; 
    object-fit: cover; 
}
.caption {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 15px;
    background-color: rgba(0, 0, 0, 0.6); 
    color: white;
    font-size: 1.2em;
    text-align: center;
}
.prev-btn, .next-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(57, 73, 171, 0.7); 
    color: white;
    border: none;
    padding: 10px 15px;
    cursor: pointer;
    z-index: 10;
    font-size: 1.5em;
    border-radius: 5px;
    opacity: 0.8;
}
.prev-btn:hover, .next-btn:hover {
    opacity: 1;
}
.prev-btn {
    left: 10px;
}
.next-btn {
    right: 10px;
}