@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');

html, body {
    margin: 0;
    padding: 0;
    height: 100%;
    font-family: 'Inter', sans-serif;
    background-color: #f1f6fb;
}

body.login-body {
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.narayana-auth-wrapper {
    width: 100vw;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.narayana-auth-container {
    position: relative;
    width: 100%;
    height: 100vh;
    background-color: #eaf1f8;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Ensure the background image doesn't stretch weirdly on very wide screens */
@media (min-aspect-ratio: 16/9) {
    .narayana-auth-container {
        background-size: 100% auto;
    }
}

/* On very tall screens, keep it centered */
@media (max-aspect-ratio: 4/3) {
    .narayana-auth-container {
        background-size: auto 100%;
    }
}

/* Centered Login Card */
.narayana-login-sidebar {
    width: 100%;
    max-width: 440px; /* Slightly wider than painted card to cover it perfectly */
    background: #fff;
    padding: 40px 45px;
    border-radius: 24px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.05);
    z-index: 10;
    position: relative;
    box-sizing: border-box;
}

.narayana-login-card {
    display: flex;
    flex-direction: column;
}

.narayana-logo-container {
    text-align: center;
    margin-bottom: 25px;
}

.narayana-brand-title {
    font-size: 26px;
    font-weight: 800;
    color: #0d3b66;
    margin: 15px 0 5px 0;
}

.narayana-brand-title span {
    color: #d32f2f;
    font-size: 20px;
}

.narayana-subtitle {
    font-size: 12px;
    color: #6c757d;
    font-weight: 500;
    margin-bottom: 30px;
}

.narayana-form-group {
    margin-bottom: 20px;
    text-align: left;
}

.narayana-form-group label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: #0d3b66;
    font-weight: 600;
    margin-bottom: 8px;
}

.narayana-input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.narayana-input-wrapper i.left-icon {
    position: absolute;
    left: 15px;
    color: #888;
    font-size: 16px;
}

.narayana-input-wrapper i.right-icon {
    position: absolute;
    right: 15px;
    color: #888;
    font-size: 16px;
    cursor: pointer;
}

.narayana-input-wrapper input {
    width: 100%;
    padding: 14px 40px 14px 15px;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    font-size: 14px;
    outline: none;
    transition: border-color 0.3s;
    background: #fff;
}

.narayana-input-wrapper input:focus {
    border-color: #1565c0;
    box-shadow: 0 0 0 3px rgba(21, 101, 192, 0.1);
}

.narayana-login-btn {
    width: 100%;
    padding: 14px;
    background: #113f8c;
    color: white;
    border: none;
    border-radius: 25px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 10px;
}

.narayana-login-btn:hover {
    background: #0b2b63;
}

.narayana-warning-box {
    background: #fffafa;
    border: 1px solid #f8d7da;
    border-radius: 8px;
    padding: 15px;
    font-size: 11px;
    color: #333;
    line-height: 1.5;
    margin-top: 25px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.warning-header {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #d32f2f;
    font-weight: 700;
    font-size: 12px;
    margin-bottom: 5px;
}

.warning-icon {
    font-size: 16px;
}

.narayana-copyright {
    text-align: center;
    font-size: 11px;
    color: #888;
    margin-top: 25px;
}

.narayana-graphics-area {
    display: none;
}
