/* ==================== Login Container ==================== */
body {
    padding-top: 0;
}

.login-box {
    background-image: url(/mobile/static/images/common/logo_login.png);
    background-position-y: 87px;
    background-position-x: right;
    background-size: 150px;
    background-repeat: no-repeat;
}

.login-container {
    min-height: 100vh;
    background-color: #0b9d5e;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ==================== Header ==================== */
.login-header {
    text-align: center;
    padding-bottom: 36px;
}

.welcome-text {
    font-size: 32px;
    font-weight: bold;
    color: #fff;
    text-shadow: 0 5px 6px rgba(0, 0, 0, 1);
}

.welcome-line {
    width: 100%;
    margin-top: 22px;
    margin-bottom: 13px;
    border-bottom: 1px solid #fff;
}

.app-title {
    font-size: 21px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 8px;
    text-align: left;
    text-shadow: 0 5px 6px rgba(0, 0, 0, 0.8);
}

.app-subtitle {
    font-size: 14px;
    font-weight: 400;
    color: #fff;
    line-height: 1.6;
    text-align: left;
    text-shadow: 0 5px 6px rgba(0, 0, 0, 0.8);
}

/* ==================== Form Section ==================== */
.login-form-section {
    background-color: #FFFFFF;
    border-radius: 20px;
    padding: 35px 25px;
    max-width: 320px;
    width: 100%;
    box-shadow: 0px 0px 20px #4d4d4d;
}

.form-title {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    margin-bottom: 7px;
}

.form-title-kr {
    font-size: 20px;
    font-weight: bold;
    color: #333333;
}

.form-title-en {
    font-size: 21px;
    font-weight: 600;
    color: #e2e4e3;
}

/* ==================== Input Groups ==================== */
.input-group {
    margin-bottom: 6px;
}

.input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    padding: 14px 18px;
    transition: border-color 0.2s;
    border-bottom: 1px solid #009958;
}

.input-wrapper:focus-within {
    border-color: #1A9976;
}

.input-wrapper.error {
    border-color: #D32F2F;
}

.input-icon {
    flex-shrink: 0;
    color: #999999;
    margin-right: 12px;
}

.input-field {
    flex: 1;
    border: none;
    outline: none;
    font-size: 15px;
    color: #333333;
}

.input-field::placeholder {
    color: transparent;
}

/* ==================== Error Messages ==================== */
.error-message {
    font-size: 13px;
    color: #D32F2F;
    padding-left: 4px;
    min-height: 18px;
}

.error-message.show {
    display: block;
}

/* ==================== Login Button ==================== */
.login-btn {
    width: 100%;
    height: 39px;
    background-color: var(--primary-color);
    color: #FFFFFF;
    border: none;
    border-radius: 3px;
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.5px;
    transition: background-color 0.2s;
    margin-top: 14px;
}

.login-btn:hover {
    background-color: #168766;
}

.login-btn:active {
    background-color: #137558;
}

/* ==================== Checkbox ==================== */
.checkbox-label {
    display: flex;
    align-items: center;
    gap: 9px;
    margin-top: 14px;
    cursor: pointer;
    font-size: 14px;
    color: #666666;
}

.checkbox {
    width: 15px;
    height: 15px;
    cursor: pointer;
    accent-color: #1A9976;
}

/* ==================== Footer Buttons ==================== */
.footer-buttons {
    display: flex;
    gap: 12px;
    margin-top: 24px;
}

.footer-btn {
    flex: 1;
    color: #666666;
    border: none;
    border-radius: 2px;
    font-size: 14px;
    font-weight: 500;
    transition: background-color 0.2s;
    height: 34px;
    background: none;
    appearance: none;
    border: 1px solid var(--primary-color);
    font-size: 13px;
}

.footer-btn:hover {
    background-color: #EBEBEB;
}

.footer-btn:active {
    background-color: #E0E0E0;
}
