

/* Start:/local/templates/support/styles.css?178112470312776*/
/* ─── Reset & Base ─────────────────────────────────────────────────── */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:root {
    --c-bg:        #f5f6fa;
    --c-surface:   #ffffff;
    --c-border:    #e2e5ed;
    --c-border-md: #c8cdd9;
    --c-accent:    #2563eb;
    --c-accent-h:  #1d4ed8;
    --c-text:      #111827;
    --c-text-2:    #6b7280;
    --c-text-3:    #9ca3af;
    --c-success:   #16a34a;
    --c-success-bg:#f0fdf4;
    --c-success-br:#bbf7d0;
    --c-danger:    #dc2626;
    --c-danger-bg: #fef2f2;
    --c-danger-br: #fecaca;
    --r-md:        10px;
    --r-lg:        16px;
    --font:        'Inter', 'Segoe UI', Arial, sans-serif;
    --trans:       .18s ease;
}

html, body {
    height: 100%;
}

main {
    font-family: var(--font);
    background: var(--c-bg);
    color: var(--c-text);
    font-size: 16px;
    line-height: 1.6;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    padding: 24px 16px;
}

/* ─── Logo ──────────────────────────────────────────────────────────── */
.logo {
    display: flex;
    align-items: center;
    gap: 9px;
    text-decoration: none;
    margin-bottom: 28px;
}

.logo-icon {
    width: 32px;
    height: 32px;
}

.logo-text {
    font-size: 18px;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: var(--c-text);
}

.logo-text span {
    color: var(--c-accent);
}

/* ─── Wrapper ───────────────────────────────────────────────────────── */
.form-wrap {
    width: 100%;
    max-width: 460px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* ─── Step Indicator ────────────────────────────────────────────────── */
.steps-header {
    display: flex;
    align-items: center;
    width: 100%;
    margin-bottom: 8px;
}

.step-dot {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    font-weight: 600;
    flex-shrink: 0;
    transition: all .3s ease;
}

.step-dot.idle {
    background: #fff;
    color: var(--c-text-3);
    border: 1.5px solid var(--c-border);
}

.step-dot.active {
    background: var(--c-accent);
    color: #fff;
    box-shadow: 0 0 0 4px rgba(37,99,235,.15);
}

.step-dot.done {
    background: var(--c-success-bg);
    color: var(--c-success);
    border: 1.5px solid var(--c-success-br);
}

.step-line {
    flex: 1;
    height: 1.5px;
    background: var(--c-border);
    transition: background .35s ease;
}

.step-line.done {
    background: var(--c-success-br);
}

.steps-labels {
    display: flex;
    justify-content: space-between;
    width: 100%;
    margin-bottom: 20px;
}

.steps-labels span {
    font-size: 11px;
    font-weight: 500;
    color: var(--c-text-3);
    letter-spacing: .04em;
    text-transform: uppercase;
    flex: 1;
}

.steps-labels span:last-child {
    text-align: right;
}

/* ─── Card ──────────────────────────────────────────────────────────── */
.form-step, .success-card {
    background: var(--c-surface);
    border: 1px solid var(--c-border);
    border-radius: var(--r-lg);
    padding: 28px 28px 24px;
    width: 100%;
    box-shadow: 0 1px 4px rgba(0,0,0,.06), 0 4px 16px rgba(0,0,0,.05);
    animation: fadeUp .3s ease forwards;
}

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to   {
        opacity: 1;
        transform: translateY(0);
    }
}

.form-step h2 {
    font-size: 17px;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: var(--c-text);
    margin-bottom: 3px;
}

.step-hint {
    font-size: 13px;
    color: var(--c-text-2);
    margin-bottom: 20px;
    line-height: 1.55;
}

/* ─── Field ─────────────────────────────────────────────────────────── */
.field {
    margin-bottom: 16px;
}

.field label {
    display: block;
    font-size: 13px;
    font-weight: 500;
    color: var(--c-text-2);
    margin-bottom: 6px;
}

.field input,
.field textarea {
    width: 100%;
    background: var(--c-bg);
    border: 1px solid var(--c-border-md);
    border-radius: var(--r-md);
    color: var(--c-text);
    font-family: var(--font);
    font-size: 14px;
    padding: 9px 13px;
    outline: none;
    transition: border-color var(--trans), box-shadow var(--trans), background var(--trans);
}

.field input:focus,
.field textarea:focus {
    background: #fff;
    border-color: var(--c-accent);
    box-shadow: 0 0 0 3px rgba(37,99,235,.1);
}

.field input.has-error,
.field textarea.has-error {
    border-color: var(--c-danger);
    background: var(--c-danger-bg);
}

.field textarea {
    resize: vertical;
    min-height: 110px;
    line-height: 1.55;
}

.field-err {
    font-size: 12px;
    color: var(--c-danger);
    margin-top: 5px;
    display: none;
}
.field-err.show {
    display: block;
}

/* ─── Server Error ──────────────────────────────────────────────────── */
.server-err {
    display: none;
    align-items: center;
    gap: 9px;
    background: var(--c-danger-bg);
    border: 1px solid var(--c-danger-br);
    border-radius: var(--r-md);
    padding: 11px 13px;
    margin-bottom: 16px;
    font-size: 13px;
    color: var(--c-danger);
}
.server-err.show {
    display: flex;
}
.server-err svg {
    flex-shrink: 0;
    margin-top: 1px;
}

/* ─── Button ────────────────────────────────────────────────────────── */
.btn-row {
    display: flex;
    justify-content: flex-end;
    margin-top: 18px;
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    background: var(--c-accent);
    color: #fff;
    border: none;
    border-radius: var(--r-md);
    font-family: var(--font);
    font-size: 14px;
    font-weight: 600;
    padding: 10px 20px;
    cursor: pointer;
    transition: background var(--trans), transform var(--trans), opacity var(--trans);
}

.btn-primary:hover {
    background: var(--c-accent-h);
    transform: translateY(-1px);
}
.btn-primary:active {
    transform: scale(.98);
}
.btn-primary:disabled {
    opacity: .45;
    cursor: not-allowed;
    transform: none;
}

.btn-link {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    background: transparent;
    color: var(--c-accent);
    border: 1.5px solid rgba(37,99,235,.3);
    border-radius: var(--r-md);
    font-family: var(--font);
    font-size: 14px;
    font-weight: 600;
    padding: 10px 20px;
    cursor: pointer;
    transition: background var(--trans), border-color var(--trans);
}
.btn-link:hover {
    background: rgba(37,99,235,.06);
    border-color: var(--c-accent);
}

/* ─── Spinner ───────────────────────────────────────────────────────── */
.spinner {
    width: 14px;
    height: 14px;
    border: 2px solid rgba(255,255,255,.35);
    border-top-color: #fff;
    border-radius: 50%;
    animation: spin .55s linear infinite;
}
@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* ─── Success ───────────────────────────────────────────────────────── */
.success-card {
    text-align: center;
    padding: 36px 28px;
}

.success-icon {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--c-success-bg);
    border: 1.5px solid var(--c-success-br);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
}

.success-card h2 {
    font-size: 20px;
    font-weight: 700;
    letter-spacing: -0.02em;
    margin-bottom: 6px;
}

.success-card p {
    font-size: 14px;
    color: var(--c-text-2);
    margin-bottom: 6px;
    line-height: 1.65;
}

.ticket-badge {
    display: inline-block;
    font-size: 12px;
    font-weight: 600;
    font-family: monospace;
    letter-spacing: .07em;
    background: #eff6ff;
    border: 1px solid #bfdbfe;
    color: var(--c-accent);
    border-radius: 6px;
    padding: 3px 10px;
    margin-bottom: 20px;
}

/* ─── Footer note ───────────────────────────────────────────────────── */
.form-footer {
    margin-top: 20px;
    font-size: 12px;
    color: var(--c-text-3);
    text-align: center;
}

.form-footer a {
    color: var(--c-text-2);
    text-decoration: underline;
    text-underline-offset: 2px;
}
.form-footer a:hover {
    color: var(--c-accent);
}

@media (max-width: 500px) {
    .form-step, .success-card {
        padding: 20px 16px;
    }
}

input[type="file"] {
    background: var(--c-bg);
    border: 1.5px dashed var(--c-border-md);
    border-radius: var(--r-md);
    padding: 10px 13px;
    font-family: var(--font);
    font-size: 13px;
    color: var(--c-text-2);
    cursor: pointer;
    transition: border-color var(--trans), background var(--trans);
    width: 100%;
}

input[type="file"]:hover {
    border-color: var(--c-accent);
    background: #eff6ff;
}

input[type="file"]:focus {
    outline: none;
    border-color: var(--c-accent);
    box-shadow: 0 0 0 3px rgba(37,99,235,.1);
}

.field-hint {
    font-size: 11px;
    color: var(--c-text-3);
    margin-top: 5px;
}

.field select {
    width: 100%;
    background: var(--c-bg);
    border: 1px solid var(--c-border-md);
    border-radius: var(--r-md);
    color: var(--c-text);
    font-family: var(--font);
    font-size: 14px;
    padding: 9px 34px 9px 13px;
    outline: none;
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12' fill='none'%3E%3Cpath d='M2 4l4 4 4-4' stroke='%239ca3af' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    cursor: pointer;
    transition: border-color var(--trans), box-shadow var(--trans), background var(--trans);
}

.field select:focus {
    background-color: #fff;
    border-color: var(--c-accent);
    box-shadow: 0 0 0 3px rgba(37,99,235,.1);
}

.field select.has-error {
    border-color: var(--c-danger);
    background-color: var(--c-danger-bg);
}

.field select option[value=""] {
    color: var(--c-text-3);
}

.field-consent {
    margin-top: 4px;
    margin-bottom: 0;
}

.field label.consent-label {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    cursor: pointer;
}

.field label.consent-label input[type="checkbox"] {
    width: 16px;
    height: 16px;
    min-width: 16px;
    margin-top: 2px;
    accent-color: var(--c-accent);
    cursor: pointer;
    border: 1px solid var(--c-border-md);
    border-radius: 4px;
    padding: 0;
    background: var(--c-bg);
    box-shadow: none;
}

.field label.consent-label input[type="checkbox"]:focus {
    box-shadow: 0 0 0 3px rgba(37,99,235,.1);
    border-color: var(--c-accent);
}

.consent-text {
    font-size: 13px;
    color: var(--c-text-2);
    line-height: 1.55;
}

.consent-text a {
    color: var(--c-accent);
    text-decoration: underline;
    text-underline-offset: 2px;
}

.consent-text a:hover {
    color: var(--c-accent-h);
}
/* End */
/* /local/templates/support/styles.css?178112470312776 */
