/* Changes */
#login-page {
    min-height: 100vh;
}

#login-box {
    width: 100%;
    height: 100vh;
    background: linear-gradient(120deg, #e9f2ff, #edf7ff, #e8f0fa, #f2f8ff);
    background-size: 280% 280%;
    animation: loginGradientShift 14s ease infinite;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    padding: 20px;
}

@keyframes loginGradientShift {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

#cnet-login-logo {
    display: block;
    margin: 0 auto 10px;
    width: 66%;
    max-width: 190px;
    height: auto;
}

#login-form {
    display: flex;
    align-items: center;
    flex-direction: column;
    gap: 12px;
    width: 15%;
    min-width: 250px;
    background: #ffffff;
    border: none;
    border-radius: 16px;
    padding: 18px 18px 16px;
    box-shadow: 0 14px 30px rgba(25, 46, 76, 0.14);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
}

#login-fields {
    width: 100%;
}

.field label {
    display: block;
    margin-bottom: 6px;
    margin-top: 10px;
    font-size: 14px;
    color: var(--text-muted);
}

.field input {
    width: 100%;
    padding: 10px 12px;
    font-size: 16px;
    border: 1px solid var(--border);
    border-radius: 8px;
    outline: none;
    background: rgba(255, 255, 255, 0.92);
    color: var(--text-dark);
    transition: border-color 0.18s ease, box-shadow 0.18s ease;
}

.field input:focus {
    border-color: var(--focus);
    box-shadow: 0 0 0 3px rgba(47, 110, 168, 0.16);
}

.btn-primary {
    font-family: "Kedebideri", sans-serif;
    width: 100%;
    padding: 10px 12px;
    margin-top: 10px;
    border: none;
    border-radius: 9px;
    background: linear-gradient(180deg, #3a7bb5 0%, #286aa5 58%, #245f95 100%);
    color: #fff;
    font-weight: 400;
    font-size: 15px;
    cursor: pointer;
    box-shadow: 0 8px 18px rgba(36, 95, 149, 0.28);
    transition: background-color 0.2s ease, transform 0.12s ease, box-shadow 0.2s ease;
}

.btn-primary:hover {
    background: linear-gradient(180deg, #3573ab 0%, #245f95 58%, #1f537f 100%);
    box-shadow: 0 10px 22px rgba(31, 83, 127, 0.32);
}

.btn-primary:active {
    transform: translateY(1px);
}

.error {
    color: #d93025 !important;
    background: rgba(217, 48, 37, 0.1) !important;
    border: 1px solid rgba(217, 48, 37, 0.3) !important;
    padding: 6px 8px !important;
    border-radius: 6px !important;
    display: block !important;
    margin-bottom: 8px !important;
    font-size: 14px !important;
    margin-top: 10px !important;
}

@media (max-width: 360px) {
    #login-box {
        padding: 16px;
    }

    #login-form {
        min-width: 0;
        width: calc(100% - 12px);
    }
}
