/* =====================================================
   CSS untuk Halaman Login (FINAL - Background Padi)
   ===================================================== */

/* Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* BODY + BACKGROUND PADI */
body {
    font-family: 'Public Sans', sans-serif;
    background: 
        linear-gradient(rgba(0,0,0,0.4), rgba(0,0,0,0.4)),
        url('../assets/images/paddy-rice-field.jpg') center/cover no-repeat;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    position: relative;
    overflow: hidden;
}

/* CONTAINER */
.login-container {
    position: relative;
    z-index: 10;
    width: 100%;
    max-width: 28rem;
    animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* LOGO */
.logo-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 2rem;
}

.logo-wrapper {
    background: linear-gradient(135deg, #ec5b13 0%, #ff8c42 100%);
    padding: 1rem;
    border-radius: 1rem;
    box-shadow: 0 10px 20px rgba(236, 91, 19, 0.3);
    margin-bottom: 1rem;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

.logo-icon {
    color: white;
    font-size: 3rem !important;
}

.title {
    font-size: 1.8rem;
    font-weight: 700;
    color: white;
    text-align: center;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.title-highlight {
    color: #ffd700;
}

.subtitle {
    color: rgba(255,255,255,0.9);
    margin-top: 0.5rem;
    font-size: 0.9rem;
}

/* CARD LOGIN */
.login-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 1rem;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    padding: 2rem;
    animation: slideUp 0.5s ease 0.2s both;
}

@keyframes slideUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* FORM */
.login-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-label {
    font-size: 0.9rem;
    font-weight: 600;
}

.input-wrapper {
    position: relative;
}

.form-input {
    width: 100%;
    padding: 0.9rem 1rem 0.9rem 3rem;
    border: 2px solid #e2e8f0;
    border-radius: 0.75rem;
}

.form-input:focus {
    outline: none;
    border-color: #ec5b13;
}

/* BUTTON */
.submit-btn {
    width: 100%;
    padding: 0.9rem;
    border: none;
    border-radius: 0.75rem;
    font-weight: 600;
    color: white;
    background: linear-gradient(135deg, #ec5b13, #ff8c42);
    cursor: pointer;
}

.submit-btn:hover {
    transform: translateY(-2px);
}

/* FOOTER */
.footer-links {
    margin-top: 2rem;
    text-align: center;
}

.copyright {
    margin-top: 2rem;
    text-align: center;
    color: rgba(255,255,255,0.8);
    font-size: 0.8rem;
}