body {
    background: linear-gradient(to bottom right, #ff6c01, #1f7fff);
    font-family: 'Arial', sans-serif;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    margin: 0;
    color: #333;
}

.login-container {
    width: 100%;
    max-width: 450px;
    margin: 0 auto;
    padding: 20px;
    box-sizing: border-box;
}

/* Card di login */
.login-card {
    background: #fff;
    border-radius: 15px;
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2);
    padding: 30px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.login-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(to right, #e5c8b5, #ea7a28);
}

.login-header {
    font-size: 1.8rem;
    font-weight: 600;
    color: #333;
    text-align: center;
    margin-bottom: 10px;
}

.login-subheader {
    font-size: 1rem;
    text-align: center;
    color: #666;
    margin-bottom: 30px;
}

.login-body {
    width: 100%;
}

.form-group {
    margin-bottom: 20px;
}

.form-label {
    display: block;
    font-size: 0.9rem;
    color: #333;
    margin-bottom: 8px;
}

.form-input {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 1rem;
    color: #333;
    outline: none;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    background: #f9f9f9;
    padding-right: 40px;
}

.form-input:focus {
    border-color: #ee6b09;
    box-shadow: 0 0 5px rgba(52, 152, 219, 0.5);
}

.password-wrapper {
    position: relative;
}

.toggle-password {
    position: absolute;
    top: 50%;
    right: 15px;
    transform: translateY(-50%);
    background: none;
    border: none;
    font-size: 1.2rem;
    cursor: pointer;
    color: #666;
    transition: color 0.3s ease;
}

.toggle-password:hover {
    color: #ee6b09;
}

.form-input:focus {
    border-color: #ee6b09;
    box-shadow: 0 0 5px rgba(52, 152, 219, 0.5);
}

.error-feedback {
    color: #e74c3c;
    font-size: 0.875rem;
    margin-top: 5px;
}

.remember-me {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9rem;
    color: #555;
}

.btn-submit {
    width: 100%;
    background: #ee6b09;
    color: #fff;
    border: none;
    padding: 12px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 1.1rem;
    font-weight: 600;
    transition: background 0.3s ease, transform 0.2s ease;
}

.btn-submit:hover {
    background: #d55900;
    transform: scale(1.02);
}

.forgot-password {
    text-align: center;
    margin-top: 15px;
    font-size: 0.9rem;
}

.forgot-password a {
    color: #ee6b09;
    text-decoration: none;
    transition: color 0.3s ease;
}

.forgot-password a:hover {
    color: #d55900;
}

.register-link {
    margin-top: 20px;
    text-align: center;
    font-size: 0.9rem;
}

.register-link a {
    color: #ee6b09;
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s ease;
}

.register-link a:hover {
    color: #d55900;
    text-decoration: underline;
}

.icon-logo {
    max-width: 80px;
    margin-bottom: 10px;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

@media (max-width: 480px) {
    .login-card {
        padding: 20px;
    }

    .login-header {
        font-size: 1.6rem;
    }

    .form-label, .form-input, .btn-submit {
        font-size: 0.9rem;
    }
}
