/* Variabel Kustom CSS */
:root {
    --primary-green: #2ecc71;
    --dark-green: #27ae60;
    --light-green: #90ee90;
}

/* Gaya Umum Body */
body {
    font-family: 'Inter', 'Arial', sans-serif;
    background-color: #f4f6f7;
    overflow-x: hidden;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Gaya Navigasi Bawah */
.bottom-navigation {
    backdrop-filter: blur(10px);
    background-color: rgba(255, 255, 255, 0.8);
    box-shadow: 0 -4px 6px rgba(0, 0, 0, 0.1);
    border-top: 1px solid #e5e5e5;
}

/* Item Navigasi */
.nav-item {
    transition: all 0.3s ease;
}

.active-nav {
    color: var(--dark-green);
    transform: translateY(-4px);
}

.nav-item:hover {
    color: var(--dark-green);
    transform: translateY(-4px);
}

.nav-item i {
    font-size: 1.5rem;
}

/* Animasi */
@keyframes slideDown {
  from { opacity: 0; transform: translateY(-20px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes slideIn {
  from { opacity: 0; transform: translateX(30px); }
  to { opacity: 1; transform: translateX(0); }
}

.animate-slide-down { animation: slideDown 0.5s ease; }
.animate-fade-in { animation: fadeIn 0.7s ease; }
.animate-slide-in { animation: slideIn 0.5s ease; }

/* Gaya Halaman */
.page { display: none; }
.page.active { display: block; animation: fadeIn 0.5s ease; }

/* Konten Utama */
.content { flex-grow: 1; }

/* Logo */
.logo {
    width: 100px;
    height: 100px;
    object-fit: cover;
    object-position: top;
    transform: scale(1.1);
    image-rendering: crisp-edges;
    backface-visibility: hidden;
}

/* Gaya Form Input */
input, select {
    transition: all 0.3s ease;
    border-color: var(--light-green);
}

input:focus, select:focus {
    border-color: var(--primary-green);
    box-shadow: 0 0 5px rgba(46, 204, 113, 0.5);
    outline: none;
}

/* Gaya Validasi Form */
input:invalid {
    border-color: #ef4444;
}

/* Peningkatan Aksesibilitas */
button:focus, 
input:focus, 
select:focus {
    outline: 2px solid var(--primary-green);
    outline-offset: 2px;
}

/* Desain Responsif */
@media (max-width: 640px) {
    .container {
        padding-left: 1rem;
        padding-right: 1rem;
    }

    .grid-cols-2 {
        grid-template-columns: 1fr;
    }
}

/* Gaya untuk Print */
@media print {
    body * {
        visibility: hidden;
    }
    
    form, form * {
        visibility: visible;
    }
    
    form {
        position: absolute;
        left: 0;
        top: 0;
    }
}
#EditData {
  max-height: 100vh;
}
