/* ==========================================================================
   lso_signin.css — 전문가 로그인 페이지 전용 스타일
   ========================================================================== */

:root {
    --auth-primary: #1b4d3e;
    --auth-dark:    #12382c;
}

* { margin: 0; padding: 0; box-sizing: border-box; font-family: 'Noto Sans KR', sans-serif; }

body { background-color: #fff; height: 100vh; display: flex; overflow: hidden; }

a { text-decoration: none; color: inherit; transition: color 0.2s; }
a:hover { color: var(--auth-primary); }

/* ---------- Left visual panel ---------- */
.visual-panel {
    flex: 1.2;
    background-image: url('/img/tech-office-bg.png');
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 60px;
}

.visual-panel::after {
    content: '';
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(135deg, rgba(11,56,46,0.75) 0%, rgba(17,36,31,0.6) 100%);
}

/* ---------- Top nav bar (Back / Home) ---------- */
.auth-top-bar {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 60px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
    box-sizing: border-box;
    z-index: 20;
}
.btn-auth-back,
.btn-auth-home {
    background: none;
    border: none;
    color: #fff !important;
    font-size: 22px;
    cursor: pointer;
    text-decoration: none;
    padding: 10px;
    transition: opacity 0.2s;
    line-height: 1;
}
.btn-auth-back:hover,
.btn-auth-home:hover { opacity: 0.7; }

.visual-content         { position: relative; z-index: 10; color: #fff; text-align: center; }
.visual-tagline         { font-size: 26px; font-weight: 300; margin-bottom: 10px; opacity: 0.9; }
.visual-brand           { font-size: 46px; font-weight: 800; margin-bottom: 20px; letter-spacing: -1px; }
.visual-desc            { font-size: 16px; font-weight: 300; line-height: 1.8; opacity: 0.8; }

/* ---------- Right form panel ---------- */
.form-panel {
    flex: 1;
    background-color: #fff;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    overflow-y: auto;
}

.form-wrapper   { flex: 1; display: flex; flex-direction: column; justify-content: center; padding: 0 10%; }
.form-container { width: 100%; max-width: 400px; margin: 0 auto; }

/* ---------- Brand logo ---------- */
.brand-logo         { text-align: center; margin-bottom: 40px; color: var(--auth-primary); }
.brand-logo svg     { height: 35px; width: auto; display: inline-block; margin-bottom: 12px; }
.brand-logo h1      { font-size: 26px; font-weight: 800; letter-spacing: -1px; margin-top: 5px; }
.brand-logo span    { font-size: 14px; font-weight: 400; color: #666; display: block; margin-top: 5px; }

.form-header        { margin-bottom: 30px; text-align: center; }
.form-header h2     { font-size: 20px; font-weight: 700; color: #222; }

/* ---------- Input fields ---------- */
.input-group            { position: relative; margin-bottom: 20px; }
.input-group input {
    width: 100%; padding: 16px 15px;
    border: 1px solid #ddd; border-radius: 4px;
    font-size: 15px; color: #333; background: #fcfcfc; transition: all 0.3s;
}
.input-group input:focus {
    outline: none; border-color: var(--auth-primary);
    background: #fff; box-shadow: 0 0 0 3px rgba(27,77,62,0.1);
}
.input-group label  { display: none; }

/* ---------- Form options ---------- */
.form-options {
    display: flex; justify-content: space-between; align-items: center;
    margin-bottom: 30px; font-size: 14px; color: #666;
}
.form-options label         { display: flex; align-items: center; cursor: pointer; }
.form-options input[type="checkbox"] { margin-right: 8px; accent-color: var(--auth-primary); }
.find-links a               { margin: 0 5px; }

/* ---------- Login button ---------- */
.btn-login {
    width: 100%; padding: 16px;
    background-color: var(--auth-primary); color: #fff; border: none;
    border-radius: 4px; font-size: 16px; font-weight: 600;
    cursor: pointer; transition: background-color 0.2s;
}
.btn-login:hover    { background-color: var(--auth-dark); }

/* ---------- Join guide ---------- */
.join-guide {
    margin-top: 40px; padding: 20px;
    background-color: #f8f9fa; border-radius: 4px;
    text-align: center; font-size: 14px; color: #555;
}
.join-guide a {
    color: var(--auth-primary); font-weight: 700;
    text-decoration: underline; margin-left: 5px; white-space: nowrap;
}

/* ---------- Footer ---------- */
.lso-footer {
    padding: 25px 0; border-top: 1px solid #eee;
    background-color: #fff; text-align: center; font-size: 13px; color: #777;
}
.lso-footer-links           { margin-bottom: 10px; }
.lso-footer-links a         { margin: 0 12px; color: #555; }
.lso-footer-links a.bold    { font-weight: 700; color: #333; }
.lso-footer-bottom span     { margin: 0 8px; }
.cs-link                    { color: var(--auth-primary); font-weight: 600; text-decoration: underline; }
.cs-link:hover              { color: var(--auth-dark); }

/* ---------- Modals ---------- */
.modal-overlay {
    display: none; position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0,0,0,0.5); z-index: 100; align-items: center; justify-content: center;
}
.modal-overlay.show         { display: flex; }

.modal-content {
    background: #fff; width: 90%; max-width: 400px; padding: 30px;
    border-radius: 8px; box-shadow: 0 4px 15px rgba(0,0,0,0.2); position: relative;
}
.modal-close    { position: absolute; top: 15px; right: 20px; font-size: 24px; cursor: pointer; color: #999; }
.modal-header   { margin-bottom: 20px; font-size: 18px; font-weight: 700; color: #222; border-bottom: 1px solid #eee; padding-bottom: 10px; }
.modal-hint     { font-size: 13px; color: #666; margin-bottom: 15px; line-height: 1.4; }
.modal-btn {
    width: 100%; padding: 12px; background-color: var(--auth-primary);
    color: #fff; border: none; border-radius: 4px;
    font-size: 15px; font-weight: 600; cursor: pointer; margin-top: 10px;
    font-family: inherit;
}
.modal-result {
    margin-top: 15px; padding: 15px; background: #f8f9fa; border-radius: 4px;
    text-align: center; font-size: 14px; display: none;
    color: var(--auth-primary); font-weight: 500;
}
.modal-result.error { color: #d32f2f; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
    body                    { flex-direction: column; overflow: auto; }
    .visual-panel           { flex: none; height: 25vh; padding: 30px; }
    .visual-brand           { font-size: 28px; }
    .visual-desc            { display: none; }
    .form-wrapper           { padding: 40px 20px; }
}
