/* ════════════════════════════════════════════════════════════════════
   _style_login.css — страница входа dealer/index.phtml
════════════════════════════════════════════════════════════════════ */
@font-face {
    font-family: 'Antiquariat';
    font-display: swap;
    src: url('/fonts/TrajanPro3-Regular.woff2') format('woff2'),
         url('/fonts/TrajanPro3-Regular.woff')  format('woff'),
         url('/fonts/TrajanPro3-Regular.ttf')   format('truetype');
}
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
body {
    min-height: 100vh;
    background-color: #e5e0d1;
    background-image: url('/img/bg.jpg');
    background-attachment: scroll;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px 16px;
    font-family: Georgia, 'Times New Roman', serif;
    color: #381a0c;
}
.lc-card {
    width: 100%; max-width: 420px;
    background: #faf7f0;
    border: 1px solid rgba(255,255,255,.50);
    border-radius: 20px;
    box-shadow: 0 6px 24px rgba(40,15,5,.45), 0 20px 60px rgba(40,15,5,.35);
    overflow: hidden;
}
.lc-card-top {
    background: url('/img/bg-wood.jpg') center/cover no-repeat;
    height: 150px;
    display: flex; align-items: center; justify-content: center;
}
.lc-logo { display: block; }
.lc-card-body {
    background: linear-gradient(to bottom, rgba(225,218,199,0) 0%, rgba(181,167,147,.5) 100%);
    padding: 22px 36px 28px;
}
.lc-title {
    font-family: 'Antiquariat', Georgia, serif;
    font-size: 1rem;
    letter-spacing: .14em;
    color: #41210e;
    text-transform: uppercase;
    margin-bottom: 18px;
    line-height: 1.3;
}
.lc-divider { border: none; border-top: 1px solid rgba(65,33,14,.18); margin: 0 0 20px; }
.lc-msg { border-radius: 10px; padding: 9px 13px; margin-bottom: 14px; font-size: .88rem; line-height: 1.45; text-align: left; }
.lc-msg-error { background: #fde8e8; color: #a00; border: 1px solid rgba(192,0,0,.2); }
.lc-msg-ok    { background: #f0f5f0; color: #2a6d32; border: 1px solid rgba(42,109,50,.2); }
.lc-field { display: flex; align-items: center; margin-bottom: 12px; gap: 10px; }
.lc-field label {
    flex: 0 0 72px; font-size: .8rem; font-weight: bold;
    letter-spacing: .04em; text-transform: uppercase;
    color: #5a3221; font-family: Georgia, serif;
    text-align: right; white-space: nowrap;
}
.lc-field input {
    flex: 1; padding: 8px 12px; background: #fff;
    border: 1px solid rgba(65,33,14,.28); border-radius: 10px;
    font-family: Georgia, serif; font-size: .98rem; color: #1e120a;
    transition: border-color .15s, box-shadow .15s;
    box-shadow: inset 0 1px 3px rgba(65,33,14,.07); min-width: 0;
}
.lc-field input:focus {
    outline: none; border-color: #69311f;
    box-shadow: 0 0 0 3px rgba(105,49,31,.12), inset 0 1px 3px rgba(65,33,14,.06);
}
.lc-btn {
    display: block; width: 100%; margin-top: 30px; padding: 14px 16px;
    cursor: pointer;
    background: linear-gradient(to bottom, #41210e 0%, #69311f 50%, #41210e 100%);
    border-radius: 15px; border: 1px solid rgba(255,255,255,.6);
    box-shadow: 0 0 1px 1px rgba(0,0,0,.5);
    color: #fff; font-size: 0.91rem; font-weight: bold;
    letter-spacing: .05rem; text-shadow: 0 0 2px #000;
    font-family: Georgia, serif; transition: opacity .15s;
}
.lc-btn:hover { opacity: .88; }
.lc-btn:active { opacity: .95; transform: translateY(1px); }
.lc-forgot { margin-top: 14px; }
.lc-forgot a { font-size: .87rem; color: #9d2104; text-decoration: none; }
.lc-forgot a:hover { text-decoration: underline; }
@media (max-width: 480px) {
    body { padding: 16px 12px; align-items: flex-start; padding-top: 30px; }
    .lc-card { max-width: 100%; }
    .lc-card-top { display: none; }
    .lc-card-body { padding: 18px 20px 22px; }
    .lc-title { margin-bottom: 14px; }
    .lc-field label { flex: 0 0 62px; font-size: .75rem; }
    .lc-field input  { padding: 7px 10px; font-size: .92rem; }
    .lc-btn { font-size: 1.15rem; padding: 8px 12px; }
}
