/* TFN Registration Form Styles */
.tfn-step-box {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
}

.tfn-field-group {
    margin-bottom: 25px;
}

.tfn-field-label {
    display: block;
    font-size: 14px;
    font-weight: 700;
    color: #1a1f36;
    margin-bottom: 8px;
}

.tfn-req {
    color: #ef4444;
}

.tfn-input-wrap,
.tfn-select-wrap {
    position: relative;
}

.tfn-input,
.tfn-select {
    width: 100%;
    padding: 14px 18px;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    font-size: 15px;
    color: #1a1f36;
    background: #ffffff;
    transition: all 0.2s;
    outline: none;
    box-sizing: border-box;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}

.tfn-input.with-icon,
.tfn-select.with-icon {
    padding-left: 45px;
}

.tfn-input-icon {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #64748b;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
}

.tfn-select-wrap::after {
    content: "";
    position: absolute;
    right: 18px;
    top: 50%;
    transform: translateY(-50%);
    width: 12px;
    height: 8px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2364748b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
    pointer-events: none;
}

.tfn-input:focus,
.tfn-select:focus {
    border-color: #ffaf42;
    box-shadow: 0 0 0 4px rgba(255, 175, 66, 0.1);
}

.tfn-input::placeholder {
    color: #94a3b8;
}

.tfn-textarea {
    width: 100%;
    padding: 14px 18px;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    font-size: 15px;
    color: #1a1f36;
    background: #ffffff;
    transition: all 0.2s;
    outline: none;
    box-sizing: border-box;
    resize: vertical;
    min-height: 100px;
}

.tfn-textarea:focus {
    border-color: #ffaf42;
    box-shadow: 0 0 0 4px rgba(255, 175, 66, 0.1);
}

.tfn-hint {
    font-size: 12px;
    color: #64748b;
    margin-top: 6px;
}

.tfn-step-footer {
    display: flex;
    justify-content: flex-end;
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid #e2e8f0;
}

.tfn-btn-continue {
    background: #ffaf42;
    color: white;
    border: none;
    padding: 14px 30px;
    font-size: 16px;
    font-weight: 700;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 4px 12px rgba(255, 175, 66, 0.2);
}

.tfn-btn-continue:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(255, 175, 66, 0.3);
}

.tfn-btn-back {
    background: transparent;
    color: #64748b;
    border: none;
    padding: 14px 20px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: color 0.2s;
}

.tfn-btn-back:hover {
    color: #1a1f36;
}

/* Review Section */
.tfn-review-section {
    margin-bottom: 20px;
    background: #f8fafc;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
    overflow: hidden;
}

.tfn-review-header {
    background: #ffffff;
    padding: 15px 20px;
    font-weight: 800;
    color: #1a1f36;
    border-bottom: 1px solid #e2e8f0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.tfn-review-icon {
    color: #ffaf42;
    display: flex;
}

.tfn-review-body {
    padding: 20px;
}

.tfn-kv-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.tfn-kv-row span {
    color: #64748b;
    font-size: 14px;
}

.tfn-kv-row strong {
    color: #1a1f36;
    font-weight: 600;
    font-size: 14px;
    text-align: right;
    max-width: 60%;
    word-break: break-word;
}

.tfn-total-highlight {
    border-top: 1px dashed #cbd5e1;
    margin-top: 15px;
    padding-top: 15px;
}

.tfn-total-highlight span {
    font-size: 16px;
    font-weight: 700;
    color: #1a1f36;
}

.tfn-total-highlight strong {
    font-size: 18px;
    font-weight: 800;
    color: #ffaf42;
}

/* Landing Layout */
.tfn-wizard-wrap {
    max-width: 1000px;
    margin: 0 auto;
}

.tfn-wizard-header {
    text-align: center;
    margin-bottom: 30px;
}

.tfn-wizard-title {
    font-size: 28px;
    font-weight: 800;
    color: #1a1f36;
    margin-bottom: 5px;
}

.tfn-wizard-subtitle {
    font-size: 15px;
    color: #64748b;
}

.tfn-wizard-grid {
    display: flex;
    gap: 30px;
    align-items: flex-start;
}

.tfn-wizard-main {
    flex: 1;
}

.tfn-wizard-sidebar {
    width: 320px;
    flex-shrink: 0;
}

@media (max-width: 768px) {
    .tfn-wizard-grid {
        flex-direction: column;
    }
    .tfn-wizard-sidebar {
        width: 100%;
    }
    .tfn-step-box {
        padding: 20px;
    }
}

/* Custom Select Dropdown */
.tfn-custom-select-container {
    position: relative;
    width: 100%;
}
.tfn-custom-select-trigger {
    width: 100%;
    padding: 14px 18px;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    font-size: 15px;
    background: #ffffff;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.2s;
    user-select: none;
}
.tfn-custom-select-trigger.open, .tfn-custom-select-trigger:focus {
    border-color: #ffaf42;
    box-shadow: 0 0 0 4px rgba(255, 175, 66, 0.1);
}
.tfn-custom-select-trigger .arrow {
    width: 12px;
    height: 8px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2364748b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
    transition: transform 0.2s;
}
.tfn-custom-select-trigger.open .arrow {
    transform: rotate(180deg);
}
.tfn-custom-options {
    position: absolute;
    top: calc(100% + 5px);
    left: 0;
    right: 0;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    z-index: 100;
    max-height: 250px;
    overflow-y: auto;
    display: none;
}
.tfn-custom-options.open {
    display: block;
}
.tfn-custom-option {
    padding: 12px 18px;
    font-size: 15px;
    color: #1a1f36;
    cursor: pointer;
    transition: background 0.2s;
}
.tfn-custom-option:hover {
    background-color: #ffaf42;
    color: #ffffff;
}
.tfn-custom-option.selected {
    background-color: rgba(255, 175, 66, 0.1);
    color: #1a1f36;
    font-weight: 600;
}
.tfn-custom-option.selected:hover {
    background-color: #ffaf42;
    color: #ffffff;
}
