/* Custom Styles untuk Sistem Data Tanaman */

/* Reset dan Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

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

.notifikasi-show {
    animation: slideDown 0.3s ease-out;
}

/* Style untuk notifikasi sukses */
.notifikasi-sukses {
    background-color: #10b981;
    color: white;
    border-left: 4px solid #059669;
}

/* Style untuk notifikasi error */
.notifikasi-error {
    background-color: #ef4444;
    color: white;
    border-left: 4px solid #dc2626;
}

/* Loading state untuk tombol */
.btn-loading {
    opacity: 0.7;
    cursor: not-allowed;
    pointer-events: none;
}

/* Hover effect untuk input */
input:hover,
select:hover,
textarea:hover {
    border-color: #10b981;
}

/* Custom scrollbar untuk textarea */
textarea::-webkit-scrollbar {
    width: 8px;
}

textarea::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 10px;
}

textarea::-webkit-scrollbar-thumb {
    background: #10b981;
    border-radius: 10px;
}

textarea::-webkit-scrollbar-thumb:hover {
    background: #059669;
}

/* Responsive adjustments */
@media (max-width: 640px) {
    body {
        padding: 1rem;
    }
    
    .bg-white {
        padding: 1.5rem;
    }
    
    h1 {
        font-size: 2rem;
    }
}
