﻿.tvk-lc-form-wrapper {
    max-width: 960px;
    margin: 20px auto;
    padding: 24px;
    border: 1px solid #d7d7d7;
    border-radius: 12px;
    background: #ffffff;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.06);
}

.tvk-lc-form {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.tvk-lc-message {
    display: none;
    grid-column: 1 / -1;
    border-radius: 8px;
    padding: 12px 14px;
    font-size: 14px;
    line-height: 1.4;
}

.tvk-lc-message p {
    margin: 0 0 4px;
}

.tvk-lc-message p:last-child {
    margin-bottom: 0;
}

.tvk-lc-message.is-error {
    background: #fef2f2;
    color: #991b1b;
    border: 1px solid #fecaca;
}

.tvk-lc-message.is-success {
    background: #ecfdf5;
    color: #065f46;
    border: 1px solid #a7f3d0;
}

.tvk-lc-message.is-info {
    background: #eff6ff;
    color: #1e3a8a;
    border: 1px solid #bfdbfe;
}

.tvk-lc-field {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.tvk-lc-field-full {
    grid-column: 1 / -1;
}

.tvk-lc-form label {
    font-weight: 600;
    color: #1f2937;
}

.tvk-lc-form input,
.tvk-lc-form select,
.tvk-lc-form textarea {
    width: 100%;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    padding: 10px 12px;
    font-size: 15px;
    line-height: 1.4;
    background: #fff;
}

.tvk-lc-help-text,
.tvk-lc-note {
    margin: 0;
    font-size: 14px;
    color: #4b5563;
}

.tvk-lc-consents label {
    font-weight: 400;
    display: flex;
    gap: 8px;
    align-items: flex-start;
}

.tvk-lc-submit {
    background: #0f766e;
    color: #ffffff;
    border: 0;
    border-radius: 9px;
    padding: 14px 18px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
}

.tvk-lc-submit:hover {
    background: #0d5f59;
}

.tvk-lc-submit:disabled {
    opacity: 0.75;
    cursor: not-allowed;
}

@media (max-width: 768px) {
    .tvk-lc-form {
        grid-template-columns: 1fr;
    }
}

.tvk-lc-consult-page-wrap {
    max-width: 860px;
    margin: 36px auto;
    padding: 0 16px;
}

.tvk-lc-consult-page {
    border: 1px solid #d7d7d7;
    border-radius: 12px;
    background: #fff;
    padding: 24px;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.06);
}

.tvk-lc-consult-message {
    font-size: 16px;
    margin: 0 0 14px;
    color: #1f2937;
}

.tvk-lc-waiting-box {
    padding: 14px;
    border: 1px solid #c7e0dc;
    border-radius: 10px;
    background: #f0fdfa;
}

.tvk-lc-waiting-steps p {
    display: none;
    margin: 0;
    color: #1f2937;
    font-size: 15px;
    font-weight: 600;
}

.tvk-lc-waiting-steps p.is-active {
    display: block;
}

.tvk-lc-answer-title {
    margin: 0 0 12px;
    font-size: 20px;
    color: #0f172a;
}

.tvk-lc-answer-block {
    margin-top: 4px;
    padding: 14px;
    border: 1px solid #dbe4ea;
    border-radius: 8px;
    background: #f8fafc;
    white-space: pre-wrap;
    line-height: 1.5;
}

.tvk-lc-answer-actions {
    margin-top: 14px;
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.tvk-lc-btn {
    background: #0f766e;
    color: #fff;
    border: 0;
    border-radius: 8px;
    padding: 10px 14px;
    cursor: pointer;
}

.tvk-lc-btn-secondary {
    background: #334155;
}

.tvk-lc-inline-feedback {
    margin: 8px 0 0;
    color: #0f766e;
    font-size: 14px;
}

.tvk-lc-answer-note {
    margin: 14px 0 0;
    font-size: 14px;
    color: #374151;
}

.tvk-lc-check-payment {
    background: #0f766e;
    color: #fff;
    border: 0;
    border-radius: 8px;
    padding: 10px 14px;
    cursor: pointer;
}

.tvk-lc-timer-section {
    margin-top: 16px;
    padding-top: 12px;
    border-top: 1px dashed #d7d7d7;
}

.tvk-lc-timer-label {
    margin: 0 0 4px;
    color: #374151;
}

.tvk-lc-timer-value {
    margin: 0;
    font-size: 28px;
    font-weight: 700;
    color: #b91c1c;
    letter-spacing: 1px;
}

.tvk-lc-timer-note {
    margin: 0;
    color: #475569;
}

.tvk-lc-expired-message {
    margin: 0;
    color: #b91c1c;
    font-weight: 700;
}

.tvk-lc-state-generation_error,
.tvk-lc-state-email_error {
    border-color: #f0d4bf;
    background: #fffaf5;
}

@media (max-width: 768px) {
    .tvk-lc-answer-actions {
        flex-direction: column;
    }
}
