﻿.pc-auth-page {
    padding: 48px 0 72px;
    background: #f5f6f8;
}

.pc-auth-shell {
    display: grid;
    grid-template-columns: minmax(330px, .9fr) minmax(460px, 1.1fr);
    overflow: hidden;
    border: 1px solid #e1e4e8;
    border-radius: 10px;
    background: #fff;
    box-shadow: 0 18px 48px rgba(26, 31, 38, .08);
}

.pc-auth-shell--wide {
    grid-template-columns: 380px minmax(560px, 1fr);
}

.pc-auth-promo {
    min-height: 560px;
    padding: 64px 48px;
    background:
        linear-gradient(135deg, rgba(116, 7, 13, .95), rgba(215, 25, 32, .93)),
        url('/Web/dye_pc/Images/logo-original.png') center 88% / 260px auto no-repeat;
    color: #fff;
}

.pc-auth-promo > span,
.pc-auth-card > header > span {
    display: block;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .18em;
}

.pc-auth-promo > span {
    color: rgba(255,255,255,.75);
}

.pc-auth-promo h1 {
    margin: 18px 0 16px;
    color: #fff;
    font-size: 38px;
    line-height: 1.25;
}

.pc-auth-promo p {
    max-width: 430px;
    margin: 0;
    color: rgba(255,255,255,.86);
    font-size: 16px;
    line-height: 1.9;
}

.pc-auth-promo ul {
    display: grid;
    gap: 12px;
    margin-top: 36px;
}

.pc-auth-promo li {
    position: relative;
    padding-left: 24px;
    color: rgba(255,255,255,.92);
    font-size: 14px;
}

.pc-auth-promo li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #fff;
    font-weight: 900;
}

.pc-auth-card {
    align-self: center;
    padding: 52px 58px;
}

.pc-auth-card > header {
    margin-bottom: 30px;
    padding-bottom: 22px;
    border-bottom: 1px solid #eceef1;
}

.pc-auth-card > header > span {
    color: #d71920;
}

.pc-auth-card h2 {
    margin: 10px 0 0;
    color: #20242a;
    font-size: 30px;
    line-height: 1.3;
}

.pc-auth-card > header p {
    margin: 8px 0 0;
    color: #777e87;
    font-size: 14px;
}

.pc-auth-card em {
    color: #d71920;
    font-style: normal;
}

.pc-auth-message {
    margin-bottom: 22px;
    padding: 12px 15px;
    border-left: 4px solid #d71920;
    background: #fff2f3;
    color: #9f1117;
    font-size: 14px;
    line-height: 1.7;
}

.pc-auth-message.is-success {
    border-left-color: #18834a;
    background: #eff9f3;
    color: #14673d;
}

.pc-auth-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.pc-auth-field {
    display: block;
    margin-bottom: 20px;
}

.pc-auth-field > span {
    display: block;
    margin-bottom: 8px;
    color: #343a42;
    font-size: 14px;
    font-weight: 700;
}

.pc-auth-field input {
    width: 100%;
    height: 48px;
    box-sizing: border-box;
    padding: 0 14px;
    border: 1px solid #d8dce1;
    border-radius: 5px;
    background: #fff;
    color: #20242a;
    font-size: 15px;
    outline: 0;
}

.pc-auth-field input:focus {
    border-color: #d71920;
    box-shadow: 0 0 0 3px rgba(215,25,32,.08);
}

.pc-auth-field small {
    display: block;
    margin-top: 7px;
    color: #858b93;
    font-size: 12px;
    line-height: 1.6;
}

.pc-auth-code-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 138px;
    gap: 10px;
}

.pc-auth-code-row #sendMobileCode {
    border-color: #d71920;
    background: #fff;
    color: #d71920;
    font-size: 13px;
    font-weight: 800;
    cursor: pointer;
}

.pc-auth-code-row #sendMobileCode:disabled {
    border-color: #d8dce1;
    color: #858b93;
    cursor: wait;
}

.pc-auth-row,
.pc-auth-links,
.pc-auth-check {
    display: flex;
    align-items: center;
}

.pc-auth-row {
    justify-content: space-between;
    margin: -2px 0 22px;
}

.pc-auth-row > a,
.pc-auth-links a,
.pc-auth-footer-link a,
.pc-auth-check a {
    color: #d71920;
}

.pc-auth-check {
    gap: 8px;
    color: #626a73;
    font-size: 13px;
}

.pc-auth-check input {
    width: 16px;
    height: 16px;
    accent-color: #d71920;
}

.pc-auth-check--agreement {
    align-items: flex-start;
    margin: 2px 0 22px;
    line-height: 1.65;
}

.pc-auth-submit {
    width: 100%;
    height: 50px;
    border: 0;
    border-radius: 5px;
    background: #d71920;
    color: #fff;
    font-size: 16px;
    font-weight: 800;
    cursor: pointer;
}

.pc-auth-submit:hover {
    background: #b90f16;
}

.pc-auth-footer-link,
.pc-auth-links {
    margin-top: 22px;
    padding-top: 20px;
    border-top: 1px solid #eceef1;
    color: #69717a;
    font-size: 14px;
    text-align: center;
}

.pc-auth-links {
    justify-content: space-between;
}


.pc-auth-social {
    margin-top: 20px;
    padding-top: 18px;
    border-top: 1px solid #eceef1;
    text-align: center;
}

.pc-auth-social > span {
    color: #8a9098;
    font-size: 12px;
}

.pc-auth-social > div {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 12px;
}

.pc-auth-social a {
    min-width: 130px;
    height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #d9dde2;
    border-radius: 4px;
    color: #555d66;
    font-size: 13px;
    font-weight: 700;
}

.pc-auth-social a:hover {
    border-color: #d71920;
    color: #d71920;
}

@media (max-width: 900px) {
    .pc-auth-page { padding: 24px 0 48px; }
    .pc-auth-shell,
    .pc-auth-shell--wide { grid-template-columns: 1fr; width: calc(100% - 32px); }
    .pc-auth-promo { min-height: auto; padding: 34px 28px; background-image: linear-gradient(135deg, #8f0d14, #d71920); }
    .pc-auth-promo h1 { font-size: 30px; }
    .pc-auth-card { padding: 34px 28px; }
}

@media (max-width: 560px) {
    .pc-auth-grid { grid-template-columns: 1fr; gap: 0; }
    .pc-auth-card { padding: 28px 20px; }
    .pc-auth-code-row { grid-template-columns: minmax(0, 1fr) 118px; }
}
