/* =============================================================
   AeroEquity investor login - faithful eFront theme clone
   Palette: primary #013766, secondary #A09879
   ============================================================= */
* { box-sizing: border-box; }
html, body { height: 100%; }
body.login-page {
    margin: 0;
    font-family: "Open Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
    color: #fff;
    background-color: #10131a;
    background-position: right center;
    background-repeat: no-repeat;
    background-size: cover;
    background-attachment: fixed;
    position: relative;
}
body.login-page::before {
    content: "";
    position: fixed;
    inset: 0;
    background: linear-gradient(180deg, rgba(0,21,45,.55) 0%, rgba(0,12,26,.75) 100%);
    z-index: 0;
}
.login-container {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    min-height: 100%;
}
.login-body {
    flex: 1 1 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 16px;
    overflow-y: auto;
}
.login-card {
    position: relative;
    width: 100%;
    max-width: 380px;
    margin: 0 auto;
    padding: 40px;
    padding-top: 96px;
    text-align: center;
    background-color: rgba(0, 0, 0, .45);
    color: #fff;
    border-radius: 8px;
}
.login-logo-wrapper {
    position: absolute;
    top: -60px;
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
    height: 120px;
    border-radius: 999px;
    background-color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 6px 20px rgba(0, 0, 0, .25);
    overflow: hidden;
}
.login-logo-wrapper img {
    max-width: 78%;
    max-height: 60%;
    object-fit: contain;
}
.login-title {
    font-size: 18px;
    font-weight: 600;
    letter-spacing: .02em;
    margin: 0 0 24px;
    color: #fff;
}
.login-subtitle {
    font-size: 14px;
    line-height: 1.5;
    color: rgba(255, 255, 255, .85);
    margin: 0 0 20px;
}
.login-control {
    display: block;
    width: 100%;
    height: 46px;
    font-size: 18px;
    line-height: 1.4;
    color: #333;
    background-color: #fff;
    background-image: none;
    border: 1px solid #ccc;
    border-radius: 4px;
    padding: 6px 12px;
    outline: none;
    transition: border-color .15s ease-in-out, box-shadow .15s ease-in-out;
}
.login-control:focus {
    border-color: #A09879;
    box-shadow: 0 0 0 2px rgba(160, 152, 121, .35);
}
.margin-bottom-10 { margin-bottom: 10px; }
.margin-bottom-20 { margin-bottom: 20px; }
.margin-bottom-40 { margin-bottom: 40px; }
.btn {
    display: inline-block;
    border: 1px solid transparent;
    border-radius: 4px;
    cursor: pointer;
    font-weight: 600;
    text-align: center;
    text-decoration: none;
    -webkit-user-select: none;
    user-select: none;
}
.btn-secondary {
    background-color: #A09879;
    color: #fff;
}
.btn-secondary:hover { background-color: #8f886b; }
.btn-primary { background-color: #013766; color: #fff; }
.btn-primary:hover { background-color: #012a4e; }
.btn-block { display: block; width: 100%; }
.login-link-list {
    list-style: none;
    margin: 0;
    padding: 0;
}
.login-link-list li { margin: 8px 0; }
.login-link {
    color: #fff;
    font-size: 14px;
    text-decoration: none;
}
.login-link:hover { color: #A09879; text-decoration: underline; }
.login-footer {
    position: relative;
    z-index: 1;
    padding: 12px 20px;
    font-size: 14px;
    text-align: right;
    background-color: #013766;
    color: #fff;
}
.login-footer a { color: #fff; text-decoration: none; }
.alert {
    border-radius: 4px;
    padding: 10px 14px;
    font-size: 14px;
    margin-bottom: 16px;
    text-align: left;
}
.alert-error { background-color: rgba(192, 57, 43, .92); color: #fff; }
.alert-success { background-color: #1a9c5b; color: #fff; }
.alert-info { background-color: rgba(255, 255, 255, .15); color: #fff; }

/* OTP input */
.otp-inputs {
    display: flex;
    gap: 8px;
    justify-content: center;
    margin-bottom: 20px;
}
.otp-inputs input {
    width: 46px;
    height: 54px;
    text-align: center;
    font-size: 22px;
    color: #333;
    background: #fff;
    border: 1px solid #ccc;
    border-radius: 4px;
}
.otp-inputs input:focus { border-color: #A09879; box-shadow: 0 0 0 2px rgba(160,152,121,.35); outline: none; }
.otp-timer { font-size: 14px; color: rgba(255, 255, 255, .85); margin-bottom: 16px; }

@media (max-width: 720px) {
    .login-card { max-width: 300px; padding-left: 16px; padding-right: 16px; padding-top: 84px; }
    .login-logo-wrapper { width: 100px; height: 100px; top: -50px; }
    .otp-inputs input { width: 38px; height: 48px; font-size: 18px; }
}
