@charset "UTF-8";

body {
    margin: 0;
    font-family: "Trebuchet MS", Helvetica, Arial, sans-serif;
    color: #1d1d1d;
    background: #f6f0e8;
}

img.background-image {
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.18;
    z-index: -2;
}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    background: linear-gradient(135deg, rgba(248, 243, 235, 0.95) 0%, rgba(242, 234, 223, 0.88) 45%, rgba(245, 216, 202, 0.9) 100%);
    z-index: -1;
}

#login-wrapper {
    min-height: 100vh;
    padding: 32px 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.login-shell {
    width: 100%;
    max-width: 1160px;
    display: grid;
    grid-template-columns: minmax(320px, 1.1fr) minmax(320px, 430px);
    gap: 24px;
    align-items: stretch;
}

.login-brand-panel,
#login-container {
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 22px 55px rgba(77, 52, 39, 0.18);
}

.login-brand-panel {
    position: relative;
    min-height: 620px;
    background:
        linear-gradient(145deg, rgba(136, 33, 77, 0.92), rgba(214, 111, 68, 0.88)),
        url('../images/login.png') center/cover no-repeat;
    color: #fff6f2;
}

.login-brand-panel::after {
    content: "";
    position: absolute;
    inset: auto -60px -60px auto;
    width: 220px;
    height: 220px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.12);
    filter: blur(2px);
}

.login-brand-copy {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 24px;
    height: 100%;
    padding: 48px;
}

.eyebrow {
    display: inline-flex;
    width: fit-content;
    padding: 8px 12px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.16);
    border: 1px solid rgba(255, 255, 255, 0.18);
    font-size: 12px;
    font-weight: bold;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.login-brand-copy h1 {
    margin: 16px 0 10px;
    font-size: 46px;
    line-height: 1.04;
}

.login-brand-copy .brand-title-link {
    color: inherit;
    text-decoration: none;
    display: inline-block;
}

.login-brand-copy .brand-title-link:hover,
.login-brand-copy .brand-title-link:focus {
    color: inherit;
    text-decoration: none;
    opacity: 0.92;
}

.login-brand-copy p {
    margin: 0;
    max-width: 500px;
    font-size: 17px;
    line-height: 1.6;
    color: rgba(255, 246, 242, 0.92);
}

#login-container {
    background: rgba(255, 252, 248, 0.96);
    border: 1px solid rgba(150, 118, 92, 0.18);
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 28px;
}

#notify {
    width: 100%;
    margin: 0 0 14px;
}

#login-sub-container {
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid #ead8cb;
    background: #fffdfb;
}

#login-sub-header {
    padding: 28px 30px 22px;
    background: linear-gradient(180deg, #fff2eb 0%, #f7e5da 100%);
    border-bottom: 1px solid #efded1;
    color: #5b3427;
}

.login-logo-line {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
    font-size: clamp(20px, 2vw, 26px);
    font-weight: bold;
    line-height: 1.15;
}


.login-logo-line span {
    min-width: 0;
    max-width: 100%;
    word-break: break-word;
}

#login-sub-header small {
    display: block;
    margin-top: 10px;
    font-size: 14px;
    color: #7a5c50;
    line-height: 1.4;
}

#login-sub {
    padding: 28px 30px 32px;
}

.login-welcome {
    margin-bottom: 18px;
    padding: 14px 16px;
    border-radius: 14px;
    background: #fff5ef;
    border: 1px solid #f0ddd1;
    color: #6d4334;
}

.login-welcome strong,
.login-welcome span {
    display: block;
}

.login-welcome strong {
    margin-bottom: 4px;
    font-size: 15px;
}

.login-welcome span {
    font-size: 13px;
}

#forms,
#login_form {
    position: static;
}

.input-req-login {
    color: #5f5149;
    font-size: 13px;
    font-weight: bold;
    margin-bottom: 8px;
}

.input-gap {
    margin-top: 18px;
}

input.std_textbox {
    width: 100%;
    height: 48px;
    margin: 0;
    padding: 0 14px;
    border-radius: 14px;
    border: 1px solid #d6c8be;
    background: #fff;
    box-shadow: inset 0 1px 2px rgba(62, 39, 26, 0.05);
    color: #241c17;
    font-family: inherit;
    font-size: 15px;
}

input.std_textbox:focus {
    outline: none;
    border-color: #b44a58;
    box-shadow: 0 0 0 4px rgba(180, 74, 88, 0.12);
}

.login-actions {
    margin-top: 24px;
}

.login-btn {
    width: 100%;
    text-align: left;
}

button,
button:active,
button[disabled]:active,
input[type=submit],
input[type=submit]:active,
input[type=submit][disabled]:active,
input[type=button],
input[type=button]:active,
input[type=button][disabled]:active,
.login-btn a.loginbtn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 50px;
    padding: 12px 22px;
    border: 0;
    border-radius: 14px;
    background: linear-gradient(135deg, #9c1f56 0%, #d46344 100%);
    color: #fff;
    cursor: pointer;
    font-weight: bold;
    font-size: 15px;
    box-shadow: 0 12px 24px rgba(156, 31, 86, 0.2);
}

button:hover,
input[type=submit]:hover,
input[type=button]:hover,
.login-btn a.loginbtn:hover {
    filter: brightness(1.03);
}

.error-notice {
    border-radius: 14px;
    font-size: 13px;
    font-weight: bold;
    min-height: 27px;
    padding: 10px 14px;
    box-shadow: 0 10px 20px rgba(127, 40, 34, 0.16);
    background: linear-gradient(180deg, #dd5952 0%, #bc3e33 100%);
    color: #fff;
}

#login-status-message {
    padding-left: 0;
    padding-top: 0;
    padding-bottom: 0;
}

.copyright {
    color: #6b5f59;
    font-size: 12px;
    text-align: center;
    margin-top: -18px;
    padding-bottom: 24px;
}

input::-webkit-input-placeholder {
    color: #9a8e87;
    font-style: italic;
}

input:-ms-input-placeholder {
    color: #9a8e87;
    font-style: italic;
}

input::placeholder {
    color: #9a8e87;
    font-style: italic;
}

@media (max-width: 960px) {
    .login-shell {
        grid-template-columns: 1fr;
    }

    .login-brand-panel {
        min-height: 320px;
    }

    .login-brand-copy {
        padding: 28px;
    }

    .login-brand-copy h1 {
        font-size: 34px;
    }
}

@media (max-width: 560px) {
    #login-wrapper {
        padding: 14px;
    }

    #login-container {
        padding: 14px;
    }

    #login-sub-header,
    #login-sub {
        padding-left: 18px;
        padding-right: 18px;
    }

    .login-logo-line {
        font-size: 21px;
    }

    .login-logo-line img {
        width: 40px;
        height: 40px;
    }
}
