/* Votive — вход, регистрация, восстановление, подтверждение почты. Вариант «Кожа и медь».
   Подключается из layouts/app.blade.php после style.css; после правки скопировать в
   public/assets/themes/revolution/css/ (ассеты темы — копия, не симлинк). */

.vauth {
    --vauth-sans: 'Outfit', "Segoe UI", Roboto, system-ui, sans-serif;
    --vauth-sc: 'Alegreya SC', serif;
    --vauth-cz: 'Cinzel', serif;
    --cd: #72451c; --cm: #bd6a27; --cl: #cb7e21; --cg: #e8943a;
    --cream: #f0e6d3;
    position: relative;
    max-width: 480px;
    margin: 40px auto 72px;
    padding: 44px 44px 36px;
    border-radius: 10px;
    overflow: hidden;
    background: #2f251b;
    border: 1px solid rgba(205, 160, 100, .35);
    box-shadow: 0 30px 70px rgba(0, 0, 0, .55), inset 0 1px 0 rgba(255, 255, 255, .04);
    color: var(--cream);
}
.vauth::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url('/storage/img/leather-texture.jpg') repeat;
    background-size: 700px 700px;
    mix-blend-mode: multiply;
    opacity: .45;
    pointer-events: none;
}
.vauth > * { position: relative; z-index: 1; }

.vauth-logo {
    width: 64px;
    height: 64px;
    margin: 0 auto 14px;
    display: block;
    filter: drop-shadow(0 6px 14px rgba(0, 0, 0, .6));
}
.vauth-kicker {
    font-family: var(--vauth-sc);
    font-weight: 500;
    font-size: 16px;
    letter-spacing: .24em;
    text-transform: uppercase;
    color: #cdbb9a;
    text-align: center;
    margin: 0 0 6px;
}
.vauth-title {
    font-family: var(--vauth-cz);
    font-weight: 700;
    font-size: 28px;
    line-height: 1.2;
    letter-spacing: .05em;
    text-align: center;
    margin: 0;
    color: var(--cream);
}
.vauth-hair {
    width: 90px;
    height: 1px;
    margin: 14px auto 22px;
    background: linear-gradient(to right, transparent, #b08a55, transparent);
}
.vauth-sub {
    font-family: var(--vauth-sans);
    font-weight: 400;
    font-size: 16px;
    line-height: 1.55;
    color: rgba(240, 230, 211, .78);
    text-align: center;
    margin: -8px 0 26px;
}
.vauth-sub b, .vauth-mail-address { color: #fff; font-weight: 500; }

.vauth-field { margin-bottom: 18px; }
.vauth-label {
    display: block;
    font-family: var(--vauth-sans);
    font-weight: 500;
    font-size: 14px;
    letter-spacing: .06em;
    text-transform: uppercase;
    color: #cdbfa3;
    margin-bottom: 8px;
}
.vauth .form-control,
.auth-card .form-control {
    font-family: var(--vauth-sans);
    font-weight: 400;
    font-size: 17px;
    line-height: 1.4;
    letter-spacing: .01em;
    color: var(--cream, #f0e6d3) !important;
    background: rgba(12, 9, 6, .5) !important;
    border: 1px solid rgba(205, 160, 100, .28);
    border-radius: 6px;
    padding: 13px 15px;
    box-shadow: none !important;
    transition: border-color .15s, box-shadow .15s;
}
.vauth .form-control::placeholder,
.auth-card .form-control::placeholder { color: rgba(240, 230, 211, .38); }
.vauth .form-control:hover,
.auth-card .form-control:hover { border-color: rgba(205, 160, 100, .5); }
.vauth .form-control:focus,
.auth-card .form-control:focus {
    border-color: var(--cg, #e8943a) !important;
    box-shadow: 0 0 0 3px rgba(232, 148, 58, .16), inset 0 0 0 1px rgba(232, 148, 58, .25) !important;
    outline: none;
}
.vauth .form-control.is-invalid { border-color: #a8412e; }
.vauth .invalid-feedback {
    display: block;
    font-family: var(--vauth-sans);
    font-size: 15px;
    color: #e08b7c;
    margin-top: 7px;
}
.vauth .invalid-feedback strong { font-weight: 500; }

/* автозаполнение Chrome красит поле в жёлтое/голубое — гасим */
.vauth input:-webkit-autofill,
.vauth input:-webkit-autofill:hover,
.vauth input:-webkit-autofill:focus {
    -webkit-box-shadow: 0 0 0 1000px #100c08 inset !important;
    -webkit-text-fill-color: #f0e6d3 !important;
    caret-color: #f0e6d3;
    border-color: rgba(205, 160, 100, .4);
    transition: background-color 9999s ease-out;
}

.vauth-pass { position: relative; }
.vauth-pass .form-control { padding-right: 48px; }
.vauth-eye {
    position: absolute;
    right: 8px;
    top: 50%;
    transform: translateY(-50%);
    width: 34px;
    height: 34px;
    border: 0;
    border-radius: 5px;
    background: transparent;
    color: rgba(240, 230, 211, .45);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}
.vauth-eye:hover { color: var(--cream); background: rgba(205, 160, 100, .12); }
.vauth-eye svg { width: 20px; height: 20px; fill: currentColor; }

.vauth-hint {
    font-family: var(--vauth-sans);
    font-weight: 400;
    font-size: 14px;
    line-height: 1.5;
    color: rgba(240, 230, 211, .62);
    margin-top: 7px;
}

.vauth-check {
    display: flex;
    align-items: flex-start;
    gap: 11px;
    font-family: var(--vauth-sans);
    font-weight: 400;
    font-size: 15px;
    line-height: 1.5;
    color: rgba(240, 230, 211, .8);
    margin: 2px 0 20px;
}
.vauth-check input {
    flex: 0 0 auto;
    width: 18px;
    height: 18px;
    margin: 2px 0 0;
    accent-color: var(--cm);
    cursor: pointer;
}
.vauth-check label { cursor: pointer; }
.vauth-check a { color: var(--cg); text-decoration: none; }
.vauth-check a:hover { text-decoration: underline; }

.vauth-captcha { display: flex; justify-content: center; margin: 4px 0 20px; }

.vauth-btn {
    display: block;
    width: 100%;
    border: 0;
    border-radius: 8px;
    padding: 15px 20px;
    font-family: var(--vauth-sc);
    font-weight: 500;
    font-size: 17px;
    line-height: 1.2;
    letter-spacing: .12em;
    text-transform: uppercase;
    text-align: center;
    text-decoration: none;
    color: #fff;
    background: linear-gradient(135deg, var(--cd), var(--cm), var(--cl));
    box-shadow: 0 10px 26px rgba(0, 0, 0, .4), inset 0 1px 0 rgba(255, 255, 255, .18);
    transition: box-shadow .2s, transform .1s;
    cursor: pointer;
}
.vauth-btn:hover { color: #fff; box-shadow: 0 8px 32px rgba(189, 106, 39, .35), inset 0 1px 0 rgba(255, 255, 255, .18); }
.vauth-btn:active { transform: translateY(1px); }
.vauth-btn--ghost {
    background: rgba(255, 255, 255, .05);
    border: 1px solid rgba(205, 160, 100, .35);
    box-shadow: none;
    color: var(--cream);
}
.vauth-btn--ghost:hover { background: rgba(189, 106, 39, .14); color: var(--cream); box-shadow: none; }

.vauth-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin: -6px 0 20px;
}
.vauth-link {
    font-family: var(--vauth-sans);
    font-size: 14px;
    letter-spacing: 0;
    color: rgba(240, 230, 211, .6);
    text-decoration: none;
}
.vauth-link:hover { color: var(--cg); }

.vauth-foot {
    text-align: center;
    margin-top: 20px;
    font-family: var(--vauth-sans);
    font-size: 15px;
    letter-spacing: 0;
    color: rgba(240, 230, 211, .65);
}
.vauth-foot a { color: var(--cg); text-decoration: none; font-weight: 500; border-bottom: 1px solid rgba(232, 148, 58, .35); }
.vauth-foot a:hover { border-bottom-color: var(--cg); }

.vauth-alert {
    font-family: var(--vauth-sans);
    font-size: 15px;
    line-height: 1.5;
    border-radius: 6px;
    padding: 12px 14px;
    margin-bottom: 18px;
}
.vauth-alert--ok { background: rgba(96, 190, 120, .1); border: 1px solid rgba(96, 190, 120, .35); color: #c6ecd0; }
.vauth-alert--err { background: rgba(168, 65, 46, .12); border: 1px solid rgba(168, 65, 46, .4); color: #ffc2b8; }

.vauth-steps {
    font-family: var(--vauth-sans);
    font-weight: 400;
    font-size: 16px;
    line-height: 1.55;
    color: rgba(240, 230, 211, .82);
    margin: 0 0 22px;
    padding: 0;
    list-style: none;
    counter-reset: step;
    text-align: left;
}
.vauth-steps li { position: relative; padding-left: 40px; margin-bottom: 10px; }
.vauth-steps li:before {
    counter-increment: step;
    content: counter(step);
    position: absolute;
    left: 0;
    top: 1px;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    border: 1px solid rgba(205, 160, 100, .45);
    background: rgba(12, 9, 6, .5);
    color: var(--cg);
    font-family: var(--vauth-sc);
    font-weight: 700;
    font-size: 13px;
    display: flex;
    align-items: center;
    justify-content: center;
}

@media (max-width: 540px) {
    .vauth { margin: 16px 12px 48px; padding: 30px 22px 26px; border-radius: 8px; }
    .vauth-title { font-size: 24px; }
}
