@import url('fonts.css');

* {
    font-family: 'Plus Jakarta Sans', sans-serif;
}

body {
    background-color: #EEEAF6;
    background-image:
        linear-gradient(rgba(238, 234, 246, 0.42), rgba(238, 234, 246, 0.42)),
        url('../img/index-bg-printing.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

@media (max-width: 991px) {
    body {
        background-attachment: scroll;
    }
}

.login-container {
    background: #FFFFFF;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    overflow: hidden;
    max-width: 450px;
    width: 100%;
    opacity: 0;
    transform: translateY(30px);
    animation: slideUpFadeIn 0.6s ease-out forwards;
}

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

.login-header {
    background: #382888;
    padding: 16px 20px;
    text-align: center;
    color: #FFFFFF;
}

.login-logo {
    width: 72%;
    max-width: 260px;
    height: auto;
    object-fit: contain;
}

.logo-container {
    margin-bottom: 20px;
}

.logo-icon {
    font-size: 64px;
    font-weight: 700;
    color: #FFFFFF;
    margin-bottom: 10px;
    line-height: 1;
}

.brand-name {
    font-size: 32px;
    font-weight: 600;
    color: #FFFFFF;
    letter-spacing: -0.5px;
}

.login-body {
    padding: 40px 30px;
}

.form-label {
    color: #000000;
    font-weight: 500;
    margin-bottom: 8px;
    font-size: 14px;
}

.form-control {
    border: 2px solid #EEEAF6;
    border-radius: 10px;
    padding: 12px 16px;
    font-size: 15px;
    transition: all 0.3s ease;
}

.form-control:focus {
    border-color: #382888;
    box-shadow: 0 0 0 0.2rem rgba(56, 40, 136, 0.15);
}

.btn-login {
    background: #382888;
    border: none;
    border-radius: 10px;
    padding: 12px;
    font-weight: 600;
    font-size: 16px;
    color: #FFFFFF;
    width: 100%;
    transition: all 0.3s ease;
}

.btn-login:hover {
    background: #4E3DB0;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(78, 61, 176, 0.3);
}

.btn-login:active {
    transform: translateY(0);
}

.form-check-label {
    color: #000000;
    font-size: 14px;
}

.form-check-input:checked {
    background-color: #382888;
    border-color: #382888;
}

.forgot-password {
    color: #382888;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: color 0.3s ease;
}

.forgot-password:hover {
    color: #4E3DB0;
}

.divider {
    text-align: center;
    margin: 25px 0;
    position: relative;
}

.divider::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    width: 100%;
    height: 1px;
    background: #EEEAF6;
}

.divider span {
    background: #FFFFFF;
    padding: 0 15px;
    color: #000000;
    font-size: 14px;
    position: relative;
}

.signup-link {
    text-align: center;
    margin-top: 20px;
    color: #000000;
    font-size: 14px;
}

.signup-link a {
    color: #382888;
    text-decoration: none;
    font-weight: 600;
}

.signup-link a:hover {
    color: #4E3DB0;
}
