/*
 * welu-login.css
 * Login screen design — Welu Creative style
 * Light/warm cream · coral accent · Inter + Dancing Script
 */

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

*, *::before, *::after { box-sizing: border-box; }

body {
    font-family: 'Inter', sans-serif;
    background: #f5f3ef;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    margin: 0;
}

/* ── Login card wrapper ── */
.login-wrap {
    width: 100%;
    max-width: 420px;
}

/* ── Logo / brand block ── */
.login-brand {
    text-align: center;
    margin-bottom: 28px;
}
.login-brand .brand-mark {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 56px; height: 56px;
    background: #e8845a;
    border-radius: 16px;
    color: #fff;
    font-size: 1.5rem;
    margin-bottom: 14px;
    box-shadow: 0 8px 24px rgba(232,132,90,.28);
}
.login-brand .brand-name {
    font-family: 'Dancing Script', cursive;
    font-size: 1.9rem;
    color: #1e1812;
    line-height: 1;
    display: block;
}
.login-brand .brand-subtitle {
    font-size: .72rem;
    font-weight: 500;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: #9e9288;
    margin-top: 5px;
    display: block;
}

/* ── Card ── */
.login-card {
    background: #ffffff;
    border-radius: 18px;
    box-shadow: 0 2px 8px rgba(60,40,20,.06), 0 12px 40px rgba(60,40,20,.08);
    border: 1px solid rgba(60,40,20,.07);
    padding: 36px 36px 32px;
}
.login-card .login-heading {
    font-size: 1.1rem;
    font-weight: 700;
    color: #1e1812;
    margin: 0 0 6px;
    letter-spacing: -.02em;
}
.login-card .login-subheading {
    font-size: .8rem;
    color: #9e9288;
    margin: 0 0 28px;
}

/* ── Form ── */
.login-card .form-group { margin-bottom: 18px; }
.login-card .form-label {
    display: block;
    font-size: .7rem;
    font-weight: 600;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: #9e9288;
    margin-bottom: 7px;
}
.login-card .form-control {
    border-radius: 10px;
    border: 1.5px solid rgba(60,40,20,.12);
    background: #faf8f4;
    font-size: .88rem;
    color: #1e1812;
    padding: 10px 14px;
    width: 100%;
    transition: border-color .18s, box-shadow .18s;
    font-family: 'Inter', sans-serif;
}
.login-card .form-control:focus {
    border-color: #e8845a;
    box-shadow: 0 0 0 3px rgba(232,132,90,.12);
    background: #fff;
    outline: none;
}
.login-card .form-control::placeholder { color: #b8b0a8; }

/* Password field with icon */
.login-card .input-icon-wrap {
    position: relative;
}
.login-card .input-icon-wrap .form-control { padding-right: 40px; }
.login-card .input-icon-wrap .input-icon {
    position: absolute;
    right: 13px; top: 50%;
    transform: translateY(-50%);
    color: #b8b0a8;
    font-size: .82rem;
    pointer-events: none;
}

/* Submit button */
.login-card .btn-login {
    width: 100%;
    background: #e8845a;
    color: #fff;
    border: none;
    border-radius: 10px;
    padding: 12px;
    font-size: .88rem;
    font-weight: 600;
    font-family: 'Inter', sans-serif;
    letter-spacing: .02em;
    cursor: pointer;
    transition: background .18s, transform .12s, box-shadow .18s;
    margin-top: 8px;
}
.login-card .btn-login:hover {
    background: #f0a07a;
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(232,132,90,.32);
}
.login-card .btn-login:active {
    transform: translateY(0);
    box-shadow: none;
}

/* Alert messages */
.login-card .login-alert {
    border-radius: 10px;
    font-size: .82rem;
    padding: 11px 14px;
    margin-bottom: 18px;
    border: none;
    border-left: 3px solid;
}
.login-card .login-alert.error {
    background: #fdecea;
    color: #8b1a1a;
    border-left-color: #e74c3c;
}
.login-card .login-alert.success {
    background: #edf5ef;
    color: #3a6e42;
    border-left-color: #7a9e82;
}

/* ── Footer note ── */
.login-footer {
    text-align: center;
    margin-top: 22px;
    font-size: .72rem;
    color: #9e9288;
}
.login-footer a { color: #e8845a; text-decoration: none; }
.login-footer a:hover { text-decoration: underline; }

/* ── Divider ── */
.login-divider {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 20px 0;
    color: #c8c0b8;
    font-size: .7rem;
    font-weight: 500;
    letter-spacing: .08em;
    text-transform: uppercase;
}
.login-divider::before,
.login-divider::after { content: ''; flex: 1; height: 1px; background: rgba(60,40,20,.1); }

/* ── Responsive ── */
@media (max-width: 480px) {
    body { padding: 16px; }
    .login-card { padding: 28px 22px 24px; }
    .login-brand .brand-name { font-size: 1.6rem; }
}
