.dv29-auth-page {
    min-height: 100vh;
    margin: 0;
    background: #f7f7f5;
    color: #111;
    font-family: Arial, Helvetica, sans-serif;
}

.dv29-auth-shell {
    min-height: 100vh;
    display: grid;
    grid-template-columns: minmax(360px, 46vw) minmax(420px, 1fr);
}

.dv29-auth-visual {
    position: relative;
    display: flex;
    align-items: flex-end;
    min-height: 100vh;
    padding: 56px;
    background-position: center;
    background-size: cover;
    overflow: hidden;
}

.dv29-auth-visual-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, .12), rgba(0, 0, 0, .72));
}

.dv29-auth-visual-content {
    position: relative;
    z-index: 1;
    max-width: 520px;
    color: #fff;
}

.dv29-auth-visual-content h1 {
    margin: 28px 0 12px;
    font-size: 48px;
    line-height: 1.05;
    font-weight: 600;
}

.dv29-auth-visual-content p {
    margin: 0;
    font-size: 16px;
    line-height: 1.6;
}

.dv29-auth-logo {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    color: inherit;
    text-decoration: none;
    font-weight: 700;
}

.dv29-auth-logo img {
    max-width: 180px;
    max-height: 72px;
    object-fit: contain;
}

.dv29-auth-logo.compact {
    color: #111;
    justify-content: center;
    width: 100%;
}

.dv29-auth-card-wrap {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 48px clamp(24px, 6vw, 96px);
}

.dv29-auth-card {
    width: 100%;
    max-width: 520px;
    margin: 0 auto;
    background: #fff;
    border: 1px solid #e7e7e2;
    border-radius: 8px;
    box-shadow: 0 18px 55px rgba(0, 0, 0, .08);
}

.dv29-auth-form {
    padding: 38px;
}

.dv29-auth-card-head {
    margin-bottom: 28px;
}

.dv29-auth-card-head img {
    display: block;
    max-width: 170px;
    max-height: 60px;
    object-fit: contain;
    margin-bottom: 24px;
}

.dv29-auth-card-head h2,
.dv29-auth-status-card h1 {
    margin: 0 0 8px;
    font-size: 30px;
    line-height: 1.2;
    font-weight: 600;
    letter-spacing: 0;
}

.dv29-auth-card-head p,
.dv29-auth-status-card p {
    margin: 0;
    color: #666;
    line-height: 1.6;
}

.dv29-auth-field {
    margin-bottom: 18px;
}

.dv29-auth-field label {
    display: block;
    margin-bottom: 8px;
    color: #333;
    font-size: 13px;
    font-weight: 600;
}

.dv29-auth-field .form-control,
.dv29-auth-field input,
.dv29-auth-field select,
.dv29-auth-field textarea {
    width: 100%;
    min-height: 48px;
    border: 1px solid #dcdcd7;
    border-radius: 4px;
    box-shadow: none;
    padding: 10px 13px;
    background: #fff;
    color: #111;
}

.dv29-auth-field textarea {
    min-height: 96px;
    resize: vertical;
}

.dv29-auth-field .form-control:focus,
.dv29-auth-field input:focus,
.dv29-auth-field select:focus,
.dv29-auth-field textarea:focus {
    border-color: #111;
    box-shadow: 0 0 0 3px rgba(0, 0, 0, .08);
    outline: none;
}

.dv29-auth-password {
    position: relative;
}

.dv29-auth-password .btn-show-pass {
    position: absolute;
    right: 12px;
    bottom: 13px;
    z-index: 2;
    color: #777;
}

.dv29-auth-password .form-control {
    padding-right: 42px;
}

.dv29-auth-row,
.dv29-auth-modal-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
}

.dv29-auth-check {
    display: inline-flex;
    align-items: flex-start;
    gap: 8px;
    color: #444;
    line-height: 1.45;
}

.dv29-auth-check input {
    margin-top: 2px;
}

.dv29-auth-row a,
.dv29-auth-links a,
.dv29-auth-footer a {
    color: #111;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.dv29-auth-submit {
    width: 100%;
    min-height: 50px;
    margin-top: 22px;
    border: 0;
    border-radius: 4px;
    background: #111;
    color: #fff;
    font-weight: 700;
    transition: background .16s ease, opacity .16s ease;
}

.dv29-auth-submit:hover,
.dv29-auth-submit:focus {
    background: #333;
    color: #fff;
}

.dv29-auth-submit[disabled],
.dv29-auth-submit.loading {
    opacity: .62;
    cursor: not-allowed;
}

.dv29-auth-links {
    display: flex;
    flex-wrap: wrap;
    gap: 12px 18px;
    margin-top: 24px;
    font-size: 13px;
}

.dv29-auth-alert {
    border-radius: 4px;
}

#login-password-capslock-control {
    display: none;
    width: 100%;
}

.dv29-auth-footer {
    max-width: 520px;
    margin: 24px auto 0;
    color: #666;
    font-size: 12px;
    text-align: center;
}

.dv29-auth-contact,
.dv29-auth-social {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px 14px;
    margin-top: 10px;
}

.dv29-auth-social a {
    display: inline-flex;
    width: 32px;
    height: 32px;
    align-items: center;
    justify-content: center;
    border: 1px solid #dcdcd7;
    border-radius: 50%;
    text-decoration: none;
}

.dv29-auth-modal .modal-content {
    border: 0;
    border-radius: 8px;
    box-shadow: 0 24px 70px rgba(0, 0, 0, .22);
}

.dv29-auth-modal .modal-header,
.dv29-auth-modal .modal-footer {
    border-color: #ecece7;
}

.dv29-auth-modal .modal-title {
    font-weight: 600;
}

.dv29-auth-modal .dv29-auth-form {
    padding: 0;
}

.dv29-auth-modal .modal-body {
    padding: 26px;
}

.dv29-auth-modal .modal-footer {
    padding: 18px 26px;
}

.dv29-auth-modal-footer .dv29-auth-submit {
    width: auto;
    min-width: 160px;
    margin-top: 0;
}

.dv29-auth-upload-progress {
    flex: 1 1 220px;
}

.dv29-auth-upload-progress .progress {
    height: 6px;
    margin: 8px 0 0;
    box-shadow: none;
    background: #eee;
}

.dv29-auth-upload-progress .progress-bar {
    background: #111;
}

.dv29-auth-simple {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 32px;
}

.dv29-auth-status-card {
    max-width: 460px;
    padding: 38px;
    text-align: center;
}

.dv29-auth-status-icon {
    width: 64px;
    height: 64px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin: 28px 0 18px;
    border-radius: 50%;
    background: #f2f2ee;
    color: #111;
    font-size: 24px;
}

.dv29-auth-countdown {
    margin: 16px 0 0;
    color: #555;
    font-size: 13px;
}

.dv29-otp-qr {
    display: flex;
    justify-content: center;
    margin: 18px 0;
}

.dv29-otp-qr img {
    max-width: 190px;
    width: 100%;
    height: auto;
    border: 1px solid #ecece7;
    border-radius: 6px;
    padding: 10px;
    background: #fff;
}

.dv29-otp-secret {
    padding: 12px;
    border-radius: 4px;
    background: #f7f7f5;
    color: #333;
    font-family: Consolas, Monaco, monospace;
    word-break: break-word;
}

@media (prefers-reduced-motion: reduce) {
    .dv29-auth-submit {
        transition: none;
    }
}
