.cf-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 30px;
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, sans-serif;
}
.cf-progress {
    height: 6px;
    background: #E5E7EB;
    border-radius: 3px;
    margin-bottom: 20px;
    overflow: hidden;
}
.cf-progress-bar {
    height: 100%;
    width: 20%;
    background: #3b82f6;
    border-radius: 3px;
    transition: width 0.4s ease;
}
.cf-steps-indicator {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 30px;
}
.cf-step-dot {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #E5E7EB;
    color: #9CA3AF;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s;
}
.cf-step-dot.active {
    background: #3b82f6;
    color: #fff;
    box-shadow: 0 4px 15px rgba(255, 189, 78, 0.4);
}
.cf-step-dot.completed {
    background: #10B981;
    color: #fff;
}
.cf-step {
    display: none;
    animation: cfFadeIn 0.4s ease;
}
.cf-step.active {
    display: block;
}
@keyframes cfFadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
.cf-title {
    text-align: center;
    font-size: 24px;
    font-weight: 700;
    color: #1F2937;
    margin-bottom: 30px;
}
.cf-cards {
    display: grid;
    gap: 20px;
}
.cf-cards.two {
    grid-template-columns: repeat(2, 1fr);
}
.cf-cards.three {
    grid-template-columns: repeat(3, 1fr);
}
.cf-card {
    cursor: pointer;
    display: block;
}
.cf-card input {
    display: none;
}
.cf-card-content {
    height: 180px;
    padding: 25px 20px;
    background: #F9FAFB;
    border: 2px solid #E5E7EB;
    border-radius: 16px;
    text-align: center;
    transition: all 0.3s;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
.cf-card-content:hover {
    border-color: #3b82f6;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
}
.cf-card input:checked+.cf-card-content {
    background: #eff6ff;
    border-color: #3b82f6;
    box-shadow: 0 8px 25px rgba(255, 189, 78, 0.2);
}
.cf-card-icon {
    width: 56px;
    height: 56px;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #F3F4F6;
    border-radius: 16px;
    flex-shrink: 0;
    transition: all 0.3s ease;
}
.cf-card-icon svg {
    width: 32px;
    height: 32px;
    stroke: #9CA3AF;
    transition: all 0.3s ease;
}
.cf-card:hover .cf-card-icon {
    background: #dbeafe;
}
.cf-card:hover .cf-card-icon svg {
    stroke: #3b82f6;
    transform: scale(1.1);
}
.cf-card input:checked+.cf-card-content .cf-card-icon {
    background: #3b82f6;
    box-shadow: 0 4px 15px rgba(255, 189, 78, 0.3);
}
.cf-card input:checked+.cf-card-content .cf-card-icon svg {
    stroke: #ffffff;
}
.cf-card-title {
    font-size: 15px;
    font-weight: 600;
    color: #1F2937;
    margin-bottom: 5px;
    line-height: 1.3;
}
.cf-card-desc {
    font-size: 13px;
    color: #6B7280;
}
.cf-section {
    margin-bottom: 20px;
}
.cf-checkbox-group {
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.cf-checkbox-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 16px 18px;
    background: #F9FAFB;
    border: 2px solid #E5E7EB;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.25s ease;
}
.cf-checkbox-item:hover {
    border-color: #3b82f6;
    background: #eff6ff;
}
.cf-checkbox-item input[type="radio"],
.cf-checkbox-item input[type="checkbox"] {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    flex-shrink: 0;
    width: 20px;
    height: 20px;
    margin-top: 2px;
    cursor: pointer;
    border: 2px solid #D1D5DB;
    background: #fff;
    transition: all 0.2s ease;
    position: relative;
    outline: none;
}
.cf-checkbox-item input[type="radio"] {
    border-radius: 50%;
}
.cf-checkbox-item input[type="checkbox"] {
    border-radius: 4px;
}
.cf-checkbox-item input[type="radio"]:checked {
    border-color: #3b82f6;
    background: #fff;
}
.cf-checkbox-item input[type="radio"]:checked::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #3b82f6;
}
.cf-checkbox-item input[type="checkbox"]:checked {
    border-color: #3b82f6;
    background: #3b82f6;
}
.cf-checkbox-item input[type="checkbox"]:checked::after {
    content: '';
    position: absolute;
    top: 2px;
    left: 5px;
    width: 5px;
    height: 9px;
    border: solid #fff;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}
.cf-checkbox-item span {
    font-size: 14px;
    line-height: 1.5;
    color: #374151;
}
.cf-checkbox-item:has(input:checked) {
    border-color: #3b82f6;
    background: #eff6ff;
    box-shadow: 0 4px 12px rgba(255, 189, 78, 0.15);
}
.cf-form-section {
    margin-bottom: 10px;
}
.cf-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-bottom: 20px;
}
.cf-row.three {
    grid-template-columns: repeat(3, 1fr);
}
.cf-field {
    display: flex;
    flex-direction: column;
}
.cf-field.full {
    grid-column: 1 / -1;
    margin-bottom: 20px;
}
.cf-field label {
    font-size: 14px;
    font-weight: 500;
    color: #374151;
    margin-bottom: 8px;
}
.cf-field label .required {
    color: #EF4444;
    font-weight: bold;
}
.cf-field input,
.cf-field textarea,
.cf-field select {
    padding: 12px 16px;
    border: 2px solid #E5E7EB;
    border-radius: 10px;
    font-size: 14px;
    transition: all 0.2s;
    outline: none;
    width: 100%;
    box-sizing: border-box;
    font-family: inherit;
}
.cf-field input:focus-visible,
.cf-field textarea:focus-visible,
.cf-field select:focus-visible {
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(255, 189, 78, 0.15);
}
.cf-field input::placeholder,
.cf-field textarea::placeholder {
    color: #9CA3AF;
}
.cf-field select {
    cursor: pointer;
    background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%236B7280' d='M6 8L1 3h10z'/%3E%3C/svg%3E") no-repeat right 16px center;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    padding-right: 40px;
    min-height: 48px;
}
.cf-field select option {
    padding: 12px;
    line-height: 1.5;
}
.cf-hint {
    font-size: 12px;
    color: #6B7280;
    margin-top: 6px;
    line-height: 1.4;
}
.cf-section-desc {
    font-size: 14px;
    color: #6B7280;
    margin-bottom: 15px;
}
.cf-divider {
    font-size: 18px;
    font-weight: 600;
    color: #1F2937;
    margin: 30px 0 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #E5E7EB;
}
.cf-tech-section {
    background: #F9FAFB;
    border-radius: 12px;
    padding: 20px;
    margin-top: 20px;
}
.cf-tech-section .cf-divider {
    margin-top: 0;
}
.cf-upload-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.cf-upload-item {
    margin-bottom: 10px;
    overflow: visible !important;
}
.cf-upload-item>label {
    display: block;
    font-size: 14px;
    font-weight: 500;
    color: #374151;
    margin-bottom: 8px;
}
.cf-upload-label {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 4px;
    font-size: 14px;
    font-weight: 500;
    color: #1F2937;
    margin-bottom: 8px;
    line-height: 1.4;
}
.cf-upload-zone {
    position: relative;
    padding: 30px;
    border: 2px dashed #D1D5DB;
    border-radius: 12px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s;
    background: #F9FAFB;
}
.cf-upload-zone:hover {
    border-color: #3b82f6;
    background: #eff6ff;
}
.cf-upload-zone input[type="file"] {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
}
.cf-upload-icon {
    display: flex;
    justify-content: center;
    margin-bottom: 10px;
}
.cf-upload-icon svg {
    width: 48px;
    height: 48px;
    stroke: #D1D5DB;
    transition: all 0.3s;
}
.cf-upload-zone:hover .cf-upload-icon svg {
    stroke: #3b82f6;
    transform: translateY(-5px);
}
.cf-upload-text {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
}
.cf-upload-text span {
    color: #374151;
}
.cf-upload-text small {
    color: #9CA3AF;
    font-size: 12px;
}
.cf-upload-zone.cf-drag-over {
    border-color: #3b82f6;
    background: #eff6ff;
    transform: scale(1.02);
}
.cf-file-list {
    margin-top: 10px;
}
.cf-file-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 12px 15px;
    background: #F0FDF4;
    border: 1px solid #86EFAC;
    border-radius: 10px;
    margin-top: 10px;
}
.cf-file-info {
    display: flex;
    align-items: center;
    gap: 10px;
    flex: 1;
    min-width: 0;
}
.cf-file-icon {
    font-size: 24px;
    flex-shrink: 0;
}
.cf-file-details {
    display: flex;
    flex-direction: column;
    min-width: 0;
}
.cf-file-name {
    font-size: 14px;
    font-weight: 500;
    color: #1F2937;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.cf-file-size {
    font-size: 12px;
    color: #6B7280;
}
.cf-file-status {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}
.cf-file-status-text.cf-success {
    color: #10B981;
    font-weight: 600;
    font-size: 16px;
}
.cf-file-remove {
    width: 28px;
    height: 28px;
    border: none;
    background: #FEE2E2;
    color: #EF4444;
    border-radius: 50%;
    cursor: pointer;
    font-size: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}
.cf-file-remove:hover {
    background: #EF4444;
    color: #fff;
}
.cf-signature-section {
    margin: 30px 0;
    padding: 25px;
    background: #F9FAFB;
    border-radius: 16px;
}
.cf-signature-section>label {
    display: block;
    font-size: 14px;
    font-weight: 500;
    color: #374151;
    margin-bottom: 15px;
}
.cf-signature-wrapper {
    border: 2px solid #E5E7EB;
    border-radius: 12px;
    background: #fff;
    overflow: hidden;
}
.cf-signature-pad {
    width: 100%;
    height: 150px;
    cursor: crosshair;
    touch-action: none;
    display: block;
}
.cf-signature-buttons {
    margin-top: 12px;
    text-align: right;
}
.cf-btn-clear {
    padding: 10px 20px;
    background: #EF4444;
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.2s;
}
.cf-btn-clear:hover {
    background: #DC2626;
}
.cf-signature-hint {
    margin-top: 10px;
    font-size: 13px;
    color: #6B7280;
    text-align: center;
}
.cf-signature-wrapper.cf-signature-error {
    border-color: #EF4444 !important;
    background: #FEF2F2;
}
.cf-agreement {
    margin-top: 30px;
}
.cf-checkbox {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    cursor: pointer;
    padding: 15px;
    background: #F9FAFB;
    border-radius: 10px;
    border: 2px solid #E5E7EB;
    transition: all 0.2s;
}
.cf-checkbox:hover {
    border-color: #3b82f6;
}
.cf-checkbox input {
    width: 22px;
    height: 22px;
    accent-color: #3b82f6;
    flex-shrink: 0;
    margin-top: 2px;
    cursor: pointer;
}
.cf-checkbox span {
    font-size: 14px;
    color: #374151;
    line-height: 1.5;
}
.cf-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 40px;
    gap: 15px;
}
.cf-btn {
    padding: 14px 32px;
    border: none;
    border-radius: 50px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}
.cf-btn-prev {
    background: #E5E7EB;
    color: #374151;
    border: 2px solid #E5E7EB;
}
@media (hover: hover) {
    .cf-btn-prev:hover {
        background: #CCCBCB;
        border-color: #CCCBCB;
    }
}
.cf-btn-prev:active {
    background: #CCCBCB;
    border-color: #CCCBCB;
}
.cf-btn-next,
.cf-btn-submit {
    background: #3b82f6;
    color: #fff;
    margin-left: auto;
    border: 2px solid #3b82f6;
    box-shadow: 0 4px 15px rgba(255, 189, 78, 0.3);
}
@media (hover: hover) {
    .cf-btn-next:hover,
    .cf-btn-submit:hover {
        background: #2563eb;
        border-color: #2563eb;
        transform: translateY(-2px);
        box-shadow: 0 6px 20px rgba(255, 189, 78, 0.4);
    }
}
.cf-btn-next:active,
.cf-btn-submit:active {
    background: #2563eb;
    border-color: #2563eb;
    transform: none;
    box-shadow: none;
}
.cf-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none !important;
}
.cf-error {
    border-color: #EF4444 !important;
    background: #FEF2F2 !important;
}
.cf-step-error {
    color: #EF4444;
    text-align: center;
    margin-top: 15px;
    font-size: 14px;
    padding: 12px;
    background: #FEE2E2;
    border-radius: 10px;
}
.cf-spinner {
    display: inline-block;
    width: 16px;
    height: 16px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-top-color: #fff;
    border-radius: 50%;
    animation: cfSpin 0.8s linear infinite;
    margin-right: 8px;
    vertical-align: middle;
}
@keyframes cfSpin {
    to {
        transform: rotate(360deg);
    }
}
.cf-result {
    text-align: center;
    padding: 60px 30px;
    animation: cfFadeIn 0.5s ease;
}
.cf-result-success {
    background: linear-gradient(135deg, #F0FDF4, #DCFCE7);
    border-radius: 20px;
}
.cf-result-error {
    background: linear-gradient(135deg, #FEF2F2, #FECACA);
    border-radius: 20px;
}
.cf-result-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 40px;
}
.cf-result-success .cf-result-icon {
    background: #10B981;
    color: #fff;
}
.cf-result-error .cf-result-icon {
    background: #EF4444;
    color: #fff;
}
.cf-result-title {
    font-size: 26px;
    font-weight: 700;
    margin-bottom: 15px;
}
.cf-result-success .cf-result-title {
    color: #065F46;
}
.cf-result-error .cf-result-title {
    color: #991B1B;
}
.cf-result-text {
    font-size: 16px;
    color: #4B5563;
    margin-bottom: 30px;
    line-height: 1.6;
}
.cf-result .cf-btn {
    background: linear-gradient(135deg, #10B981, #059669);
}
@media (max-width: 768px) {
    .cf-container {
        padding: 20px;
        margin: 10px;
        border-radius: 15px;
    }
    .cf-cards.two,
    .cf-cards.three {
        grid-template-columns: 1fr;
    }
    .cf-card-content {
        height: auto;
        min-height: 120px;
    }
    .cf-row,
    .cf-row.three {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    .cf-nav {
        flex-direction: column;
        gap: 10px;
    }
    .cf-btn {
        width: 100%;
        text-align: center;
    }
    .cf-btn-next,
    .cf-btn-submit {
        margin-left: 0;
        order: 1;
    }
    .cf-btn-prev {
        order: 2;
    }
    .cf-signature-pad {
        height: 120px;
    }
    .cf-steps-indicator {
        gap: 8px;
        flex-wrap: wrap;
    }
    .cf-step-dot {
        width: 32px;
        height: 32px;
        font-size: 13px;
    }
}
@media (max-width: 480px) {
    .cf-container {
        padding: 15px;
        margin: 5px;
    }
    .cf-title {
        font-size: 20px;
    }
    .cf-divider {
        font-size: 16px;
    }
    .cf-checkbox-item {
        padding: 12px;
    }
    .cf-checkbox-item span {
        font-size: 13px;
    }
}
.cf-tooltip-trigger {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 18px;
    height: 18px;
    min-width: 18px;
    background: #E5E7EB;
    border-radius: 50%;
    cursor: help;
    flex-shrink: 0;
    transition: background 0.2s;
    outline: none;
    border: none;
    padding: 0;
}
.cf-tooltip-trigger:hover,
.cf-tooltip-trigger:focus {
    background: #3b82f6;
}
.cf-tooltip-trigger svg {
    width: 14px;
    height: 14px;
    stroke: #6B7280;
    fill: none;
    transition: stroke 0.2s;
    display: block;
}
.cf-tooltip-trigger:hover svg,
.cf-tooltip-trigger:focus svg {
    stroke: #fff;
}
.cf-tooltip-text {
    display: none;
    position: absolute;
    left: 50%;
    bottom: calc(100% + 10px);
    transform: translateX(-50%);
    max-width: 280px;
    width: max-content;
    padding: 12px 14px;
    background: #1F2937;
    color: #F9FAFB;
    font-size: 12px;
    font-weight: 400;
    line-height: 1.55;
    border-radius: 8px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
    z-index: 9999;
    pointer-events: none;
    word-wrap: break-word;
    overflow-wrap: break-word;
    white-space: normal;
    text-align: left;
}
.cf-tooltip-text::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    border: 6px solid transparent;
    border-top-color: #1F2937;
}
@media (hover: hover) {
    .cf-tooltip-trigger:hover .cf-tooltip-text,
    .cf-tooltip-trigger:focus .cf-tooltip-text {
        display: block;
    }
}
.cf-tooltip-trigger.cf-tooltip-active .cf-tooltip-text {
    display: block;
}
@media (max-width: 768px) {
    .cf-tooltip-text {
        position: fixed;
        left: 10px;
        right: 10px;
        bottom: 20px;
        top: auto;
        transform: none;
        max-width: none;
        width: auto;
        font-size: 13px;
        padding: 16px;
        border-radius: 12px;
        pointer-events: auto;
    }
    .cf-tooltip-text::after {
        display: none;
    }
}
.cf-pill-label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: #1F2937;
    margin-bottom: 8px;
}
.cf-pill-group {
    display: inline-flex;
    gap: 6px;
    flex-wrap: wrap;
}
.cf-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 36px;
    padding: 0 18px;
    border-radius: 20px;
    border: 1.5px solid #D1D5DB;
    background: #fff;
    color: #374151;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    outline: none;
    white-space: nowrap;
    font-family: inherit;
}
.cf-pill:hover {
    border-color: #3b82f6;
    background: #eff6ff;
    color: #92400E;
}
.cf-pill.active {
    background: #3b82f6;
    color: #fff;
    border-color: transparent;
    box-shadow: 0 2px 8px rgba(255, 189, 78, 0.3);
}
.cf-pill.active:hover {
    box-shadow: 0 4px 12px rgba(255, 189, 78, 0.4);
}
.cf-docs-block {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 15px;
}
#sms-verification-block {
    margin-bottom: 25px;
}
.cf-hidden {
    display: none !important;
}
.sms-state {
    animation: smsFadeIn 0.25s ease;
}
@keyframes smsFadeIn {
    from {
        opacity: 0;
        transform: translateY(6px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
.sms-phone-display {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 6px;
}
.sms-phone-icon {
    flex-shrink: 0;
}
.sms-phone-number {
    font-size: 18px;
    font-weight: 600;
    color: #1F2937;
    letter-spacing: 0.5px;
}
.sms-phone-number:empty::after {
    content: '—';
    color: #9CA3AF;
}
.sms-subtitle {
    font-size: 13px;
    color: #6B7280;
    margin-bottom: 16px;
    line-height: 1.4;
}
.sms-subtitle.error {
    color: #DC2626;
    font-weight: 500;
}
.sms-code-title {
    font-size: 20px;
    font-weight: 700;
    color: #111827;
    margin-bottom: 6px;
}
.sms-code-input-row {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 12px;
    flex-wrap: nowrap;
    margin-bottom: 8px;
}
.sms-code-field-wrap {
    position: relative;
    flex: 0 0 auto;
}
#sms-resend-btn {
    flex: 0 0 auto;
    white-space: nowrap;
    align-self: center;
    margin-left: 0;
}
.sms-code-field {
    width: 140px;
    text-align: center;
    font-size: 24px;
    font-weight: 600;
    letter-spacing: 10px;
    padding: 12px 16px;
    border: 2px solid #E5E7EB;
    border-radius: 10px;
    font-family: inherit;
    background: #fff;
    transition: all 0.2s;
    outline: none;
    box-sizing: border-box;
    caret-color: #3b82f6;
}
.sms-code-field:focus {
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(255, 189, 78, 0.15);
}
.sms-code-field.has-error {
    border-color: #EF4444;
    animation: smsShake 0.4s ease;
}
@keyframes smsShake {
    0%,
    100% {
        transform: translateX(0);
    }
    20% {
        transform: translateX(-6px);
    }
    40% {
        transform: translateX(6px);
    }
    60% {
        transform: translateX(-4px);
    }
    80% {
        transform: translateX(4px);
    }
}
.sms-code-field-wrap {
    overflow: hidden;
}
.sms-spinner {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    width: 20px;
    height: 20px;
    border: 2.5px solid #E5E7EB;
    border-top-color: #3b82f6;
    border-radius: 50%;
    animation: smsSpin 0.6s linear infinite;
}
@keyframes smsSpin {
    to {
        transform: translateY(-50%) rotate(360deg);
    }
}
.sms-code-error {
    font-size: 13px;
    color: #EF4444;
    font-weight: 500;
    margin-bottom: 8px;
}
.sms-resend-row {
    min-height: 20px;
    margin-top: 8px;
}
.sms-timer-text {
    font-size: 13px;
    color: #9CA3AF;
    display: inline-block;
    min-width: 240px;
}
.sms-verified-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 20px;
    background: #ECFDF5;
    border: 1px solid #A7F3D0;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    color: #065F46;
}
#sms-verification-block.verified {
    border-left: 4px solid #10B981;
    padding-left: 16px;
}
@media (max-width: 768px) {
    .sms-code-input-row {
        flex-direction: column;
        align-items: stretch;
    }
    .sms-code-field {
        width: 100%;
    }
    #sms-resend-btn {
        text-align: center;
    }
    .sms-timer-text {
        min-width: auto;
        display: block;
        text-align: center;
    }
    .sms-resend-row {
        text-align: center;
    }
    .cf-signature-section canvas {
        height: 220px !important;
        width: 100% !important;
    }
    .cf-signature-section {
        padding: 10px;
    }
}
#connection-form textarea {
    resize: none;
}
#connection-form,
#connection-form * {
    -webkit-tap-highlight-color: transparent;
}
#connection-form *:focus,
#connection-form *:active {
    outline: none !important;
    outline-width: 0 !important;
    outline-style: none !important;
    -moz-outline-style: none !important;
}
#connection-form *::-moz-focus-inner {
    border: 0 !important;
}
#connection-form *:-moz-focusring {
    outline: none !important;
}
.cf-card:focus,
.cf-card:active,
.cf-card-content:focus,
.cf-card-content:active {
    outline: none !important;
    box-shadow: none !important;
}
#connection-form input:focus,
#connection-form textarea:focus,
#connection-form select:focus {
    border-color: #E5E7EB !important;
    border-style: solid !important;
    box-shadow: none !important;
    outline: none !important;
}
#connection-form input:focus-visible,
#connection-form textarea:focus-visible,
#connection-form select:focus-visible {
    border-color: #3b82f6 !important;
    border-style: solid !important;
    box-shadow: 0 0 0 3px rgba(255, 189, 78, 0.15) !important;
    outline: none !important;
}
#connection-form button:focus,
#connection-form .cf-btn:focus {
    outline: none !important;
    box-shadow: none !important;
}
#connection-form button:active,
#connection-form .cf-btn:active {
    outline: none !important;
    box-shadow: none !important;
}
#connection-form .cf-btn-next:active,
#connection-form .cf-btn-submit:active {
    background-color: #2563eb !important;
    border-color: #2563eb !important;
    color: #fff !important;
}
#connection-form .cf-btn-prev:active {
    background-color: #CCCBCB !important;
    border-color: #CCCBCB !important;
    color: #374151 !important;
}
#connection-form button:focus-visible,
#connection-form .cf-btn:focus-visible {
    outline: 2px solid #3b82f6 !important;
    outline-offset: 2px;
}

/* === Стили для таблиц тепловых нагрузок === */
.cf-heat-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 13px;
    background: #fff;
    min-width: 800px;
}
.cf-heat-table th,
.cf-heat-table td {
    border: 1px solid #d1d5db;
    padding: 8px;
    text-align: center;
    vertical-align: middle;
}
.cf-heat-table th {
    background: #f9fafb;
    font-weight: 600;
    color: #374151;
}
.cf-heat-table td.auto-calc {
    background: #e0f2fe;
}
.cf-heat-table input.heat-calc-input,
.cf-heat-table td.auto-calc input {
    width: 100%;
    border: none !important;
    background: transparent !important;
    text-align: center;
    font-size: 13px;
    color: #111827;
    padding: 0;
    box-shadow: none !important;
    outline: none !important;
}
.cf-heat-table input.heat-calc-input:focus {
    background: #fff !important;
}
.cf-table-wrapper {
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}
