body {
    /* Background image */
    background: url('dashboard/bg.homepage.png') center center/cover no-repeat;
    min-height: 100vh;
    font-family: 'Segoe UI', Arial, sans-serif;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0;
    transition: background 1s;
}

/* Login Card dengan animasi dan shadow lebih jelas */
.container {
    max-width: 350px;
    margin: 70px auto;
    background: rgba(255,255,255,0.95);
    border-radius: 22px;
    box-shadow: 0 12px 40px rgba(0,59,149,0.18);
    padding: 42px 36px 36px 36px;
    text-align: center;
    animation: fadeInUp 0.8s cubic-bezier(.57,.21,.69,1.25);
    border: 2px solid #a1c4fd;
}

.logo {
    /* Logo dengan animasi */
    width: 120px;
    margin-bottom: 18px;
    animation: fadeIn 1s;
}

h2 {
    /* Tajuk dengan efek gradient */
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 28px;
    letter-spacing: 1px;
    background: linear-gradient(90deg, #003B95 40%, #fda085 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
    animation: fadeIn 1.2s;
}

.input-group {
    /* Input dengan animasi dan efek hover */
    animation: fadeInLeft 1s;
}

.input-group input {
    width: 100%;
    padding: 13px;
    margin-bottom: 18px;
    border-radius: 10px;
    border: 2px solid #a1c4fd;
    font-size: 1.1rem;
    transition: border-color 0.3s, box-shadow 0.3s;
    box-shadow: 0 2px 12px rgba(161,196,253,0.08);
    animation: fadeInLeft 1.1s;
    background: #f7fbff;
}
.input-group input:focus {
    border-color: #fda085;
    outline: none;
    box-shadow: 0 0 0 3px #fda08544;
}
.input-group input:hover {
    border-color: #003B95;
}

/* Error Animation */
.error {
    color: #d32f2f;
    margin-bottom: 10px;
    display: none;
    animation: fadeIn 1.3s;
}

/* Switch Animation */
.switch {
    margin-bottom: 18px;
    color: #003B95;
    font-size: 1rem;
    animation: fadeIn 1.4s;
}

.switch a {
    color: #003B95;
    text-decoration: underline;
    cursor: pointer;
    transition: color 0.2s;
}
.switch a:hover {
    color: #fda085;
}

/* Button dengan gradient dan animasi */
.button {
    width: 100%;
    padding: 13px;
    background: linear-gradient(90deg, #003B95 0%, #a1c4fd 100%);
    color: #fff;
    border: none;
    border-radius: 10px;
    font-size: 1.15rem;
    font-weight: bold;
    cursor: pointer;
    box-shadow: 0 4px 18px rgba(0,59,149,0.13);
    transition: background 0.3s, transform 0.2s;
    margin-top: 8px;
    animation: fadeInUp 1.5s;
    letter-spacing: 1px;
}
.button:hover {
    background: linear-gradient(90deg, #fda085 0%, #003B95 100%);
    transform: translateY(-2px) scale(1.04);
}

/* Animations */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(40px);}
    to { opacity: 1; transform: translateY(0);}
}
@keyframes fadeInLeft {
    from { opacity: 0; transform: translateX(-40px);}
    to { opacity: 1; transform: translateX(0);}
}
@keyframes fadeIn {
    from { opacity: 0;}
    to { opacity: 1;}
}
