/* Athurasramam Homoeo login — port of Odoo pharmacy_mgmnt login_page.scss */
body.o-homeo-login {
    margin: 0;
    min-height: 100vh;
    font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    background-color: #c3cfe2;
    background-image: url("/images/login/dashboard_bg.jpg");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    display: flex;
    align-items: center;
    justify-content: center;
}

.login-shell {
    width: 100%;
    max-width: 450px;
    padding: 20px;
    box-sizing: border-box;
}

.login-card {
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 20px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.35);
    padding: 28px 28px 32px;
}

.login-brand {
    text-align: center;
    padding: 8px 0 4px;
}

.login-logo {
    max-height: 200px;
    max-width: 320px;
    width: 90%;
    height: auto;
    object-fit: contain;
    display: inline-block;
    margin-bottom: 8px;
}

.login-divider {
    border: 0;
    border-top: 1px solid #e5e7eb;
    margin: 8px 0 22px;
}

.login-errors {
    list-style: none;
    margin: 0 0 16px;
    padding: 10px 12px;
    border-radius: 10px;
    background: #fef2f2;
    color: #b91c1c;
    font-size: 0.9rem;
}

.login-form .field {
    margin-bottom: 20px;
}

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

.login-form input[type="email"],
.login-form input[type="password"] {
    width: 100%;
    height: 48px;
    border-radius: 10px;
    border: 1px solid #ddd;
    padding: 8px 15px;
    font-size: 15px;
    box-sizing: border-box;
    background: rgba(255, 255, 255, 0.95);
    transition: border-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
    font-family: inherit;
}

.login-form input:focus {
    outline: none;
    border-color: #4facfe;
    box-shadow: 0 0 0 0.2rem rgba(79, 172, 254, 0.18);
    transform: translateY(-1px);
}

.login-submit {
    width: 100%;
    height: 50px;
    margin-top: 10px;
    border: none;
    border-radius: 10px;
    font-size: 18px;
    font-weight: 600;
    color: #fff;
    cursor: pointer;
    font-family: inherit;
    background: linear-gradient(to right, #4facfe 0%, #00f2fe 100%);
    box-shadow: 0 10px 20px rgba(79, 172, 254, 0.3);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.login-submit:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 25px rgba(79, 172, 254, 0.4);
}

.login-submit:active {
    transform: translateY(-1px);
}

@media (max-width: 576px) {
    body.o-homeo-login {
        align-items: flex-start;
        padding-top: 24px;
        background-attachment: scroll;
    }

    .login-shell {
        max-width: 100%;
        padding: 12px;
    }

    .login-card {
        padding: 16px;
        border-radius: 14px;
    }

    .login-logo {
        max-height: 160px;
        max-width: 260px;
        width: 88%;
    }

    .login-submit {
        font-size: 16px;
        height: 46px;
    }
}
