.lc-card {
    --lc-bg: #ffffff;
    --lc-card: transparent;
    --lc-accent: #2a37b7;
    --lc-text: #ffffff;
    --lc-muted: rgba(255, 255, 255, 0.72);
    --lc-border: #d7d7d7;
    --lc-shadow: none;
    font-family: "Open Sans", Arial, sans-serif;
    color: var(--lc-text);
}

.lc-card *,
.lc-card *::before,
.lc-card *::after {
    box-sizing: border-box;
}

.lc-card input,
.lc-card select,
.lc-card textarea,
.lc-card button {
    font-family: inherit;
}

.lc-card {
    background: transparent !important;
    border: none !important;
    border-radius: 0 !important;
    padding: 0 !important;
    box-shadow: none !important;
}

.lc-header,
.lc-success {
    display: flex;
    gap: 16px;
    align-items: center;
    margin-bottom: 16px;
}

.lc-badge {
    width: 44px;
    height: 44px;
    aspect-ratio: 1 / 1;
    border-radius: 12px;
    background: #ffffff;
    color: var(--lc-accent);
    display: grid;
    place-items: center;
    font-size: 22px;
    font-weight: 700;
}

.lc-badge--alert {
    background: #ffffff;
}

.lc-badge--success {
    background: #ffffff;
}

.lc-kicker {
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-size: 12px;
    color: var(--lc-muted);
    font-weight: 700;
}

.lc-title {
    margin: 4px 0 0;
    font-size: 22px;
    font-weight: 700;
    color: #ffffff !important;
}

.lc-success-text {
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #ffffff;
    font-weight: 700;
}

.lc-subtext {
    color: var(--lc-muted);
    margin: 0 0 18px;
}

.lc-form {
    display: grid;
    gap: 16px;
}

.lc-notice {
    padding: 12px 14px;
    border-radius: 10px;
    background: #eef0ff;
    border: 1px solid rgba(42, 55, 183, 0.3);
    color: #1d235c;
    font-size: 14px;
    line-height: 1.5;
    margin-bottom: 12px;
}

.lc-recaptcha {
    display: none;
    gap: 10px;
}

.lc-recaptcha.is-visible {
    display: grid;
}

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

.lc-field {
    display: grid;
    gap: 8px;
}


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

.lc-field--optional .lc-required {
    display: none;
}

.lc-label {
    font-size: 13px;
    color: var(--lc-text);
    font-weight: 600;
}

.lc-required {
    color: #ffffff;
    font-size: 0.85em;
    margin-left: 4px;
}

.lc-input {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    border: 1px solid var(--lc-border) !important;
    border-radius: 8px !important;
    padding: 12px 14px !important;
    font-size: 15px !important;
    background: #ffffff !important;
    color: #2a2a2a !important;
    box-shadow: none !important;
    line-height: 1.2 !important;
    min-height: 44px !important;
    background-clip: padding-box !important;
}

.lc-input[type="date"] {
    position: relative;
}

.lc-input[type="date"]::-webkit-calendar-picker-indicator {
    cursor: pointer;
    opacity: 0.75;
}

.lc-input:focus {
    outline: 2px solid rgba(42, 55, 183, 0.25);
    border-color: var(--lc-accent);
    background: #ffffff;
}

.lc-input--error {
    border-color: #d45a3a;
    background: #fff6f1;
}

.lc-check {
    position: relative;
    display: flex;
    gap: 10px;
    align-items: center;
    font-size: 14px;
    color: var(--lc-muted);
}

.lc-check--error {
    color: #b0442e;
}

.lc-check input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.lc-check-text {
    position: relative;
    padding-left: 30px;
    line-height: 1.4;
}

.lc-check-text::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    width: 18px;
    height: 18px;
    border-radius: 4px;
    border: 2px solid var(--lc-accent);
    background: #ffffff;
    box-shadow: 0 6px 14px rgba(42, 55, 183, 0.12);
    transform: translateY(-50%);
    transition: background 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.lc-check-text::after {
    content: "";
    position: absolute;
    left: 6px;
    top: 50%;
    width: 8px;
    height: 4px;
    border-left: 2px solid #ffffff;
    border-bottom: 2px solid #ffffff;
    transform: translateY(-50%) rotate(-45deg) scale(0.8);
    opacity: 0;
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.lc-check input:checked + .lc-check-text::before {
    background: var(--lc-accent);
    border-color: var(--lc-accent);
    box-shadow: 0 10px 18px rgba(42, 55, 183, 0.25);
}

.lc-check input:checked + .lc-check-text::after {
    opacity: 1;
    transform: translateY(-50%) rotate(-45deg) scale(1);
}

.lc-check input:focus + .lc-check-text::before {
    box-shadow: 0 0 0 3px rgba(42, 55, 183, 0.2);
}

.lc-check--error .lc-check-text::before {
    border-color: #d45a3a;
    box-shadow: 0 0 0 2px rgba(212, 90, 58, 0.15);
}

.lc-button {
    padding: 12px 18px;
    border-radius: 6px;
    border: 2px solid var(--lc-accent);
    background: var(--lc-accent);
    color: #ffffff;
    font-weight: 700;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease;
    justify-self: start;
}

.lc-button:hover {
    transform: translateY(-1px);
    box-shadow: 0 12px 24px rgba(42, 55, 183, 0.25);
}

.lc-button:disabled {
    opacity: 0.55;
    cursor: not-allowed;
    box-shadow: none;
    transform: none;
}

.lc-loading .lc-button {
    position: relative;
    padding-right: 44px;
}

.lc-loading .lc-button::after {
    content: "";
    position: absolute;
    right: 16px;
    top: 50%;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.5);
    border-top-color: #ffffff;
    transform: translateY(-50%);
    animation: lc-spin 0.8s linear infinite;
}

.lc-loading .lc-button {
    color: transparent;
}

@keyframes lc-spin {
    from {
        transform: translateY(-50%) rotate(0deg);
    }
    to {
        transform: translateY(-50%) rotate(360deg);
    }
}

.lc-field-error {
    display: none;
    font-size: 13px;
    color: #6d1d1d;
    background: #ffecec;
    border-left: 3px solid var(--lc-accent);
    padding: 8px 10px;
    border-radius: 6px;
}

.lc-field-error.is-visible {
    display: block;
}

.lc-form-error {
    display: none;
    color: #6d1d1d;
    font-weight: 600;
    font-size: 13px;
    min-height: 18px;
    background: #ffecec;
    border-left: 3px solid var(--lc-accent);
    padding: 10px 12px;
    border-radius: 6px;
}

.lc-form-error.is-visible {
    display: block;
}

@media (max-width: 720px) {
    .lc-card {
        padding: 20px;
    }

    .lc-title {
        font-size: 18px;
    }

    .lc-grid {
        grid-template-columns: 1fr;
    }

}
