.top-ui {
    min-height: 0 !important;
    padding-bottom: 90px !important;
}
@keyframes highlightPulse {
    0% {
        box-shadow: 0 0 0 0 rgb(142 31 31 / 0.5);
        border-color: #af0535;
    }
    50% {
        box-shadow: 0 0 0 6px rgb(142 31 31 / 0.2);
        border-color: #af0535;
    }
    100% {
        box-shadow: 0 0 0 0 #fff0;
        border-color: #d1d5db;
    }
}
.form-card {
    padding: 1.5rem 0 !important;
    background: #fff !important;
    box-shadow: 0 2px 8px rgb(0 0 0 / 0.187) !important;
    border: none !important;
    border-radius: 22px !important;
    visibility: visible !important;
    opacity: 1 !important;
    display: block !important;
}
.form-section-wrapper {
    padding: 0 0 44px !important;
    margin-top: -100px !important;
}
.form-intro-guide {
    margin: 0px !important;
    border-radius: 0 !important;
    padding: 14px 14px !important;
}
::selection {
    background-color: #af0535;
    color: #fff;
}
::-moz-selection {
    background-color: #af0535;
    color: #fff;
}
body {
    margin: 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    background: #f3f4f6;
    color: #1f2937;
}
.layout {
    display: flex;
    flex-direction: column;
    gap: 0;
    background: #fff0;
}
.form-section {
    width: 100%;
    max-width: 100%;
    margin: 0;
    padding: 0;
}
.photo-section {
    background: #fff;
    padding: 18px !important;
    border-radius: 12px;
    box-shadow: none;
    border: 1px solid #e5e7eb;
    margin-bottom: 1.5rem;
    margin-left: 12px;
    margin-right: 12px;
}
.photo-box {
    position: relative;
    width: 100%;
    cursor: pointer;
    display: grid !important;
    grid-template-columns: 72px 1fr !important;
    gap: 1rem;
    margin: 0px !important;
    padding: 0px !important;
    align-items: center;
    grid-auto-flow: dense;
}
.photo-placeholder {
    width: 72px;
    height: 100px;
    border-radius: 8px;
    background: #f6f6f6;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    border: 1.5px dashed #a6a6a6;
    cursor: pointer;
}
.photo-placeholder:hover {
    background: #fff;
    border-color: dimgray;
}
.add-photo-icon {
    width: 22px;
    height: 22px;
    color: #000;
    pointer-events: none;
}
.photo-content-wrapper {
    display: flex;
    flex-direction: column;
    gap: 6px;
    align-items: flex-start !important;
    text-align: left;
    width: 100%;
    padding-left: 0;
}
.photo-title {
    font-size: 0.95rem;
    font-weight: 600;
    color: #1f2937;
    margin: 0;
    text-align: left;
}
.photo-subtitle {
    font-size: 0.8rem;
    color: #6b7280;
    margin: 0;
    text-align: left;
}
.photo-upload-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 8px 14px;
    border: 2px solid #af0535;
    border-radius: 50px;
    background: #fff;
    color: #af0535;
    cursor: pointer;
    font-weight: 600;
    font-size: 0.85rem;
    transition: all 0.2s ease;
    text-decoration: none;
    white-space: nowrap;
    width: fit-content;
    margin-left: 0;
    margin-right: auto;
}
.photo-upload-btn:hover {
    background: #fef2f2;
    box-shadow: 0 2px 8px rgb(142 31 31 / 0.2);
}
.photo-upload-btn:active {
    transform: scale(0.98);
}
.photo-upload-btn.remove-mode {
    background: #af0535;
    color: #fff;
    border-color: #af0535;
}
.photo-upload-btn.remove-mode:hover {
    background: #7a1616;
    border-color: #7a1616;
}
.photo-upload-btn svg {
    width: 16px;
    height: 16px;
    stroke: currentColor;
    flex-shrink: 0;
}
#imagePreview {
    display: none;
    width: 72px;
    height: 100px;
    border-radius: 8px;
    object-fit: cover;
    grid-column: 1;
    grid-row: 1;
    cursor: pointer;
}
#imagePreview.show {
    display: block;
}
#imagePreview.show ~ .photo-placeholder {
    display: none;
}
.photo-box.has-photo .photo-placeholder {
    display: none;
}
#imageInput {
    display: none;
}
.view-templates-btn {
    margin: 16px auto 32px !important;
}
.hero {
    text-align: center;
    overflow-x: hidden;
}
.top-ui-create-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: fit-content;
    min-height: 55px;
    padding: 0 2.5rem;
    margin: 16px auto 100px auto;
    background-color: #af0535;
    color: #fff;
    border: none;
    border-radius: 9999px;
    font-family: inherit;
    font-size: 1.05rem;
    font-weight: 600;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
    box-shadow: none;
    outline: none;
    box-sizing: border-box;
    transition:
        background-color 0.2s ease,
        transform 0.15s ease;
}
.top-ui-create-btn:hover {
    background-color: #7a1a1a;
    transform: translateY(-2px);
}
.top-ui-create-btn:active {
    transform: translateY(0);
}
.section {
    margin-bottom: 1.5rem;
}
.section-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 1rem;
}
.section-icon {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgb(142 31 31 / 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.section-icon svg {
    width: 16px;
    height: 16px;
    color: #af0535;
}
.section-icon img {
    width: 16px;
    height: 16px;
}
.section-title-wrap {
    display: flex;
    flex-direction: column;
    gap: 2px;
}
.section-title-wrap h2 {
    font-size: 1.15rem;
    font-weight: 700;
    color: #1f2937;
    margin: 0;
    padding: 0;
    border: none;
    text-decoration: none;
}
.section-title-wrap .section-subtitle-text {
    font-size: 0.8rem;
    color: #6b7280;
    margin: 0;
    font-weight: 400;
}
.section-card {
    background: #fff0;
    border-radius: 0;
    box-shadow: none;
    border: none;
    padding: 0;
    margin-bottom: 0.5rem;
}
.fields {
    display: flex;
    flex-direction: column;
    gap: 1.4rem;
}
.field-card {
    display: flex;
    flex-direction: column;
    gap: 0;
}
.field-label-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 4px;
    gap: 8px;
}
.field-card label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    color: #1f2937;
    margin: 0;
    flex: 1;
}
.field-card label .required {
    color: #dc2626;
    margin-left: 2px;
}
.field-actions-group {
    display: flex;
    align-items: center;
    gap: 2px;
    flex-shrink: 0;
}
.field-move-btn {
    background: #f3f4f6;
    border: none;
    border-radius: 4px;
    color: #6b7280;
    width: 22px;
    height: 22px;
    padding: 0;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all 0.15s ease;
}
.field-move-btn svg {
    width: 14px;
    height: 14px;
}
.field-move-btn:hover {
    background: #e5e7eb;
    color: #374151;
}
.field-delete-btn {
    background: none;
    border: none;
    border-radius: 4px;
    color: #6b7280;
    width: 22px;
    height: 22px;
    padding: 0;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all 0.15s ease;
}
.field-delete-btn svg {
    width: 14px;
    height: 14px;
}
.field-delete-btn:hover:not(:disabled) {
    background: #fee2e2;
    color: #dc2626;
}
.field-delete-btn:disabled {
    display: none;
    color: #d1d5db;
    opacity: 0.4;
    cursor: not-allowed;
}
.field-edit-btn {
    background: none;
    border: none;
    padding: 0;
    margin: 0;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    opacity: 0.55;
    transition:
        opacity 0.15s ease,
        transform 0.15s ease;
}
.field-edit-btn:hover {
    opacity: 1;
    transform: scale(1.1);
}
.field-edit-btn img {
    display: block;
    width: 14px;
    height: 14px;
    pointer-events: none;
}
.label-spacer {
    flex-grow: 1;
    pointer-events: none;
}
.field-card .editable-label {
    cursor: pointer;
    transition: all 0.2s ease;
    padding: 0;
    border-radius: 4px;
    max-width: 200px;
    word-wrap: break-word;
    white-space: normal;
    display: inline-block;
    flex: 0 0 auto;
}
.editable-label:hover {
    background-color: #fff0;
    color: #b91c1c;
}
.label-edit-input {
    min-width: 100px !important;
    word-wrap: break-word !important;
    white-space: normal !important;
    padding: 4px 8px !important;
    border: 2px solid #b91c1c !important;
    border-radius: 4px !important;
    font-size: 0.85rem !important;
    font-weight: 600 !important;
    color: #1f2937 !important;
    font-family: inherit !important;
    outline: none !important;
}
.field-card-inner {
    padding: 0;
    position: relative;
    width: 100%;
}
.field-card-inner .select-wrapper {
    position: relative;
    width: 100%;
}
.field-card-inner input,
.field-card-inner textarea {
    width: 100%;
    min-height: 48px;
    padding: 12px 10px;
    border: 1px solid #afafaf;
    border-radius: 2px;
    font-size: 0.95rem;
    color: #371f2d;
    background: #fff0;
    font-family: inherit;
    box-sizing: border-box;
    transition: all 0.2s ease;
    appearance: none;
}
.field-card-inner select {
    width: 100%;
    min-height: 48px;
    padding: 12px 40px 12px 10px;
    border: 1px solid #898989;
    border-radius: 2px;
    font-size: 0.95rem;
    color: #1f2937;
    background: #fff0;
    font-family: inherit;
    box-sizing: border-box;
    transition: all 0.2s ease;
    appearance: none;
}
.field-card-inner input::placeholder,
.field-card-inner select::placeholder,
.field-card-inner textarea::placeholder {
    color: #c5c7cf;
}
/* Dropdown hint (disabled selected placeholder option) matches input placeholder color */
.field-card-inner select option:disabled {
    color: #c5c7cf;
    background: #fff;
}
.field-card-inner select:has(option:disabled:checked) {
    color: #c5c7cf;
}
.field-card-inner input:hover,
.field-card-inner select:hover,
.field-card-inner textarea:hover {
    border-color: #af0535;
}
.field-card-inner input:focus,
.field-card-inner select:focus,
.field-card-inner textarea:focus {
    outline: none;
    border-color: #af0535;
    box-shadow: 0 0 0 3px rgb(142 31 31 / 0.1);
    background: #faf9f7;
}
.field-card-inner textarea {
    min-height: 62px;
    padding: 8px 10px;
    resize: vertical;
}
.field-card-inner .field-icon {
    display: none;
}
.field-card-inner .select-arrow {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    width: 0;
    height: 0;
    border-left: 5px solid #fff0;
    border-right: 5px solid #fff0;
    border-top: 6px solid #af0535;
    pointer-events: none;
}
.add-more-row {
    margin-top: 14px;
    margin-bottom: 42px;
    padding-top: 0;
    border-top: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    overflow-x: auto;
    overflow-y: hidden;
    scrollbar-width: none;
    -ms-overflow-style: none;
    white-space: nowrap;
    flex-wrap: nowrap;
    padding-bottom: 4px;
}
.add-more-row::-webkit-scrollbar {
    display: none;
}
.add-more {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 0;
    background: none;
    color: #af0535;
    border: none;
    border-radius: 0;
    cursor: pointer;
    font-size: 0.9rem;
  
    transition: all 0.2s ease;
    flex-shrink: 0;
}
.add-more:hover {
    background: none;
    border-color: #fff0;
    opacity: 0.8;
}
.add-more-hint {
    display: inline;
    font-size: 0.8rem;
    color: #6b7280;
    margin: 0;
    font-weight: 400;
}
.add-more-suggestions {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    flex-shrink: 0;
}
.add-suggest-btn {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    padding: 3px 10px;
    background: #fff;
    color: #af0535;
    border: 1.5px solid #d99494;
    border-radius: 4px;
    cursor: pointer;
    font-size: 0.72rem;
    font-weight: 500;
    white-space: nowrap;
    transition: all 0.2s ease;
    flex-shrink: 0;
    line-height: 1.4;
}
.add-suggest-btn:hover {
    background: #af0535;
    color: #fff;
}
.add-more-main {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    padding: 3px 10px;
    background: #fff;
    color: #af0535;
    border: 1.5px solid #d99494;
    border-radius: 4px;
    cursor: pointer;
    font-size: 0.72rem;
    font-weight: 400;
    white-space: nowrap;
    transition: all 0.2s ease;
    flex-shrink: 0;
}
.add-more-main:hover {
    background: #af0535;
    color: #fff;
    border-color: #af0535;
}
/* Desktop: show all suggestion chips (wrap), mobile keeps horizontal scroll */
@media (min-width: 769px) {
    .add-more-row {
        flex-wrap: wrap;
        white-space: normal;
        overflow-x: visible;
    }
    .add-more-suggestions {
        flex-wrap: wrap;
        flex-shrink: 1;
        white-space: normal;
    }
}
.form-actions {
    margin-bottom: 2px;
    margin-top: 0 !;
    display: flex;
    gap: 1rem;
    justify-content: center;
}
.primary-btn {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 12px 2rem;
    min-height: 55px;
    background: #af0535;
    color: #fff;
    border: none;
    border-radius: 9999px !important;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: none !important;
    margin: 12px 24px 0 24px !important;
}
.primary-btn:hover {
    background: #7a1a1a;
    transform: translateY(-2px);
    box-shadow: none !important;
}
.primary-btn:active {
    transform: translateY(0);
}
.btn-arrow {
    width: 20px;
    height: 20px;
}
.sticky-form-btn {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #fff;
    padding: 0 12px 12px 12px;
    box-shadow: 0 -2px 8px rgb(0 0 0 / 0.1);
    z-index: 999;
    display: none;
}
.sticky-form-btn.show {
    display: flex;
    align-items: center;
    justify-content: center;
}
.sticky-create-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    width: 100%;
    min-height: 50px;
    padding: 0 1.5rem;
    margin: 0;
    background-color: #af0535;
    color: #fff;
    border: none;
    border-radius: 9999px;
    font-family: inherit;
    font-size: 1.05rem;
    font-weight: 600;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
    box-shadow: none;
    box-sizing: border-box;
}
.button-container {
    margin-top: 1rem;
    text-align: center;
    padding-bottom: 1rem;
}
.secondary-btn {
    padding: 10px 1.5rem;
    background: #fff0;
    color: #6b7280;
    margin-top: 22px;
    border: 1px solid #d1d5db;
    border-radius: 66px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}
.secondary-btn:hover {
    border-color: #a78bfa;
    color: #7c3aed;
    background: #f3e8ff;
}
.form-intro-guide {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    padding: 1.5rem;
    background: transparent !important;
    border-radius: 0;
    border: none !important;
    border-bottom: none !important;
    margin-bottom: 0px;
    flex-wrap: wrap;
}
.form-intro-guide p {
    color: #000;
    margin: 0px;
    text-align: center;
}
.form-intro-guide p strong {
    color: #af0535;
}
.fig-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}
.fig-num {
    width: 32px;
    height: 32px;
    background: #e9d5ff;
    color: #7c3aed;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1rem;
}
.fig-label {
    font-size: 0.85rem;
    font-weight: 600;
    color: #1f2937;
    white-space: nowrap;
}
.fig-arrow {
    color: #d1d5db;
    font-size: 1.5rem;
    display: none;
}
.fig-step--active .fig-num {
    background: #7c3aed;
    color: #fff;
    box-shadow: 0 4px 12px rgb(124 58 237 / 0.3);
}
.form-loading {
    display: none;
    text-align: center;
    padding: 3rem 1rem;
}
.form-card.loading .form-loading {
    display: block;
}
.form-card.loading main {
    display: none;
}
.form-card main {
    display: block !important;
}
.form-loading__spinner {
    width: 40px;
    height: 40px;
    border: 4px solid #e9d5ff;
    border-top-color: #7c3aed;
    border-radius: 50%;
    margin: 0 auto 1rem;
    animation: spin 1s linear infinite;
}
@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}
.form-loading__text {
    color: #6b7280;
    font-weight: 500;
}
.form-card.is-ready {
    visibility: visible;
    opacity: 1;
}
.faq {
    background: #fff !important;
    border-radius: 12px !important;
    box-shadow: none !important;
    border: 1px solid #e5e7eb !important;
    padding: 2rem 1.5rem !important;
    max-width: 800px !important;
    margin: 12px !important;
}
@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
:root {
    --primary: #af0535;
    --primary-dark: #991b1b;
    --primary-light: #dc2626;
    --primary-bg: #fef2f2;
    --primary-border: #fecaca;
}
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
html {
    font-size: 16px;
    scroll-behavior: smooth;
}
body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    color: #1f2937;
    line-height: 1.6;
    background: #fff;
    overflow-x: hidden;
}
.header {
    height: 56px;
    box-sizing: border-box;
}
.top-ui {
    background: linear-gradient(180deg, #fff 0%, #fef7f2 40%, #fdf0e8 70%, #f5e6d8 100%);
    padding-bottom: 0;
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}
.top-ui::after {
    content: "";
    position: absolute;
    bottom: -59px;
    left: 0;
    right: 0;
    height: 60px;
    background: url("data:image/svg+xml,%3Csvg width='100%25' viewBox='0 0 1200 200' preserveAspectRatio='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0%2C100 C300%2C-40 900%2C240 1200%2C100 L1200%2C200 L0%2C200 Z' fill='%23f5e6d8'/%3E%3C%2Fsvg%3E")
        no-repeat;
    background-size: 100% 100%;
    z-index: -1;
    pointer-events: none;
    transform: scaleY(-1);
}
.actionbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.75rem 1rem;
    background: rgb(255 255 255 / 0.75);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid rgb(0 0 0 / 0.06);
    height: 56px;
    position: sticky;
    top: 0;
    z-index: 100;
}
.header-content {
    line-height: 1;
}
.brand {
    font-size: 20px;
    font-weight: 700;
    text-decoration: none;
    letter-spacing: -0.3px;
}
.brand-biodata {
    color: var(--primary);
}
.brand-make {
    color: #1f2937;
}
.hamburger {
    background: 0;
    border: 0;
    cursor: pointer;
    padding: 0.5rem;
    display: flex;
    flex-direction: column;
    gap: 5px;
    -webkit-tap-highlight-color: #fff0;
    transition: gap 0.3s ease;
}
.hamburger span {
    width: 22px;
    height: 2px;
    background: #1f2937;
    display: block;
    border-radius: 2px;
    transition:
        transform 0.3s ease,
        opacity 0.3s ease,
        background-color 0.3s ease;
}
.hamburger.active span:first-child {
    transform: rotate(45deg) translateY(11px);
}
.hamburger.active span:nth-child(2) {
    opacity: 0;
}
.hamburger.active span:last-child {
    transform: rotate(-45deg) translateY(-11px);
}
.menu-overlay {
    display: none;
    position: fixed;
    top: 56px;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 99;
    background: #fff;
    overflow-y: auto;
}
.menu-overlay.open {
    display: block;
}
.menu-links {
    padding: 1rem;
}
.menu-links a {
    display: block;
    padding: 0.875rem 1rem;
    color: #1f2937;
    text-decoration: none;
    border-bottom: 1px solid #f3f4f6;
    font-size: 0.95rem;
    font-weight: 500;
}
.menu-links a:last-child {
    border-bottom: 0;
}
.menu-lang {
    padding: 1rem;
    border-top: 1px solid #e5e7eb;
}
.menu-lang-title {
    font-size: 0.8rem;
    color: #6b7280;
    margin-bottom: 0.5rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.menu-lang-btns {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}
.lang-btn {
    padding: 0.5rem 0.875rem;
    border: 1px solid #e5e7eb;
    border-radius: 6px;
    background: #fff;
    cursor: pointer;
    font-size: 0.85rem;
    color: #374151;
    font-weight: 500;
}
.lang-btn.active {
    background: var(--primary);
    color: #fff;
    border-color: var(--primary);
}
.hero {
    padding: 0;
    text-align: center;
}
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    background: linear-gradient(135deg, #fef3c7, #fde68a);
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
    color: #92400e;
    margin-top: 24px;
}
.hero h1 {
    font-size: clamp(2rem, 6vw, 3rem);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 0;
    letter-spacing: -0.5px;
    color: #1f2937;
    padding-top: 24px;
    padding-left: 22px;
    padding-right: 22px;
}
.gradient-text {
    color: var(--primary);
}
.hero-divider {
    width: 200px;
    max-width: 200px;
    margin: 0 auto;
    align-self: center;
}
.hero-divider img {
    width: 100%;
    height: 22px;
    display: block;
}
.template-label {
    text-align: center;
    font-size: 0.95rem;
    font-weight: 600;
    color: #1f2937;
    padding: 24px 1rem 0;
    margin: 0;
}
.trust-badges {
    display: flex;
    justify-content: center;
    gap: 0.75rem;
    flex-wrap: wrap;
    padding: 1rem 1rem;
}
.trust-item {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.7rem;
    font-weight: 600;
    color: #374151;
}
.trust-item svg {
    flex-shrink: 0;
}
.hero-img {
    width: calc(100% - 14px);
    max-width: 420px;
    height: 214px;
    margin: 2px auto 0;
    display: block;
    object-fit: contain;
    filter: drop-shadow(0 4px 2px rgb(0 0 0 / 0.25));
}
.view-templates-btn {
    color: var(--primary);
    font-size: 0.8rem;
    font-weight: 600;
    text-decoration: none;
    display: block;
    width: fit-content;
    margin: 0 auto 12px auto !important;
    padding: 6px 16px;
    border: 1px solid rgb(185 28 28 / 0.7);
    border-radius: 50px;
    background: #fff0;
}
.hero-create-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: fit-content;
    min-height: 55px;
    padding: 0 2.5rem;
    margin: 0 auto 40px auto;
    background-color: #af0535;
    color: #fff;
    border: none;
    border-radius: 9999px;
    font-family: inherit;
    font-size: 1.05rem;
    font-weight: 600;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
    box-shadow: none;
    outline: none;
    box-sizing: border-box;
    transition:
        background-color 0.2s ease,
        transform 0.15s ease;
}
.hero-create-btn:hover {
    background-color: #7a1a1a;
    transform: translateY(-2px);
}
.faq {
    padding: 2rem 1.5rem;
    max-width: 800px;
    margin: 0 auto;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgb(0 0 0 / 0.08);
    margin-left: 1.5rem;
    margin-right: 1.5rem;
}
::selection {
    background-color: #f97316;
    color: #fff;
}
::-moz-selection {
    background-color: #f97316;
    color: #fff;
}
@keyframes counterDotPulse {
    0%,
    100% {
        opacity: 1;
        transform: scale(1);
    }
    50% {
        opacity: 0.35;
        transform: scale(0.7);
    }
}
@keyframes skelShimmer {
    0% {
        background-position: -600px 0;
    }
    100% {
        background-position: 600px 0;
    }
}
.skel-line,
.skel-img,
.skel-photo,
.skel-step-dot,
.skel-step-line,
.skel-field-label,
.skel-field-input,
.skel-btn {
    background: linear-gradient(90deg, #e8ecf0 25%, #f4f6f8 50%, #e8ecf0 75%);
    background-size: 600px 100%;
    animation: skelShimmer 1.4s ease-in-out infinite;
    border-radius: 6px;
}
#pageSkeleton {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    padding-top: 56px;
    pointer-events: none;
}
.skel-hero {
    padding: 32px 16px 140px;
    background: linear-gradient(135deg, #e9edff 0%, #f3e8ff 50%, #e0f2fe 100%);
    border-bottom-left-radius: 56px;
    border-bottom-right-radius: 56px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
}
.skel-title {
    width: 60%;
    max-width: 320px;
    height: 32px;
    border-radius: 8px;
}
.skel-subtitle {
    width: 80%;
    max-width: 400px;
    height: 18px;
}
.skel-images {
    display: flex;
    gap: 12px;
    margin-top: 8px;
    justify-content: center;
}
.skel-img {
    width: 90px;
    height: 127px;
    border-radius: 8px;
    flex-shrink: 0;
}
.skel-card {
    background: #fff;
    border-radius: 24px;
    box-shadow: 0 18px 46px rgb(15 23 42 / 0.08);
    border: 1px solid rgb(148 163 184 / 0.22);
    max-width: 1160px;
    margin: -120px auto 0;
    padding: 32px 20px 24px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.skel-steps {
    display: flex;
    align-items: center;
    gap: 8px;
    justify-content: center;
}
.skel-step-dot {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    flex-shrink: 0;
}
.skel-step-line {
    flex: 1;
    max-width: 80px;
    height: 4px;
    border-radius: 2px;
}
.skel-body {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}
.skel-photo {
    width: 140px;
    height: 190px;
    flex-shrink: 0;
    border-radius: 12px;
    align-self: center;
}
.skel-fields {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.skel-field-label {
    width: 40%;
    height: 12px;
}
.skel-field-input {
    width: 100%;
    height: 40px;
    border-radius: 8px;
    margin-bottom: 4px;
}
.skel-btn {
    width: 100%;
    height: 52px;
    border-radius: 14px;
    background: linear-gradient(90deg, #fbd0b0 25%, #fde8d8 50%, #fbd0b0 75%);
    background-size: 600px 100%;
    animation: skelShimmer 1.4s ease-in-out infinite;
}
html,
body {
    overflow-x: hidden;
}
body {
    margin: 0;
    background: linear-gradient(135deg, #f8fafc 0%, #f5f7fb 45%, #eef2f7 100%);
    color: #111827;
}
.preview-thumb-wrap {
    position: relative;
    flex-shrink: 0;
}
.preview-demo-label {
    position: absolute;
    bottom: 2px;
    right: 2px;
    font-size: 8px;
    color: #515151be;
    pointer-events: none;
    line-height: 1;
}
.hero-text {
    flex: 1 1 0%;
    text-align: left;
    align-self: flex-end;
    margin-top: 12px;
}
.form-section-wrapper {
    margin-top: -90px;
    padding: 0 28px 60px;
    contain: layout style paint;
    min-height: 0;
}
.form-card {
    background: #fff;
    border-radius: 24px;
    padding: 52px 22px 0 72px;
    margin: 0 auto;
    box-shadow: 0 18px 46px rgb(15 23 42 / 0.08);
    border: 1px solid rgb(148 163 184 / 0.22);
    max-width: 1160px;
    position: relative;
    z-index: 20;
    contain: layout style;
}
.form-card.loading {
    visibility: hidden;
    opacity: 0;
    pointer-events: none;
}
.form-card.is-ready {
    visibility: visible;
    opacity: 1;
    transition: opacity 0.18s ease;
    pointer-events: auto;
}
.form-card .form-loading {
    display: none;
    position: absolute;
    inset: 0;
    background: rgb(255 255 255 / 0.9);
    z-index: 40;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 12px;
    font-family:
        system-ui,
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        sans-serif;
    color: #1f2937;
}
.form-card.loading .form-loading {
    display: flex;
}
.form-loading__spinner {
    width: 44px;
    height: 44px;
    border: 4px solid rgb(0 0 0 / 0.15);
    border-top-color: rgb(0 0 0 / 0.7);
    border-radius: 50%;
    animation: spin 0.9s linear infinite;
}
.faq {
    padding: 40px 20px;
    background: #fff0;
    margin: 40px 0;
    contain: layout style paint;
}
.form-intro-guide {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin: -52px -22px 32px -72px;
    padding: 14px 28px;
    background: linear-gradient(90deg, #fff7f0 0%, #fdf4ff 100%);
    border-bottom: 1px solid #fde7d7;
    border-radius: 24px 24px 0 0;
}
.fig-step {
    display: flex;
    align-items: center;
    gap: 7px;
}
.fig-num {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: #e5e7eb;
    color: #6b7280;
    font-size: 11px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.fig-step--active .fig-num {
    background: linear-gradient(135deg, #593965 0%, #664862 100%);
    color: #fff;
}
.fig-label {
    font-size: 13px;
    color: #6b7280;
    font-weight: 500;
    white-space: nowrap;
}
.fig-step--active .fig-label {
    color: #111827;
    font-weight: 700;
}
.fig-arrow {
    font-size: 20px;
    color: #d1d5db;
    line-height: 1;
    margin: 0 2px;
}
.lang-btn {
    padding: 5px 12px;
    border: 1.5px solid #d1d5db;
    border-radius: 16px;
    background: #fff;
    color: #374151;
    font-size: 12px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
}
.lang-btn:hover {
    border-color: #af0535;
    color: #af0535;
}
.lang-btn.active {
    border-color: #af0535;
    background: #af0535;
    color: #fff;
}
@media (max-width: 768px) {
    .form-card {
        padding: 10px 0 30px 0 !important;
    }
    .form-section-wrapper {
        padding: 0 16px 44px 16px !important;
    }
    .form-intro-guide {
        margin: 0 0 15px 0 !important;
        padding: 10px 14px !important;
    }
    .photo-box {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    .photo-placeholder {
        width: 72px;
        margin: 0 auto;
    }
    .photo-content-wrapper {
        align-items: center;
        text-align: center;
    }
    #imagePreview.show {
        width: 72px;
        margin: 0 auto;
    }
    .form-section {
        padding: 1rem;
    }
    .photo-section {
        padding: 2rem 1rem;
    }
    .form-intro-guide {
        gap: 1rem;
    }
    .field-card-inner input,
    .field-card-inner select,
    .field-card-inner textarea {
        padding: 10px 12px;
        font-size: 16px;
    }
    .section-card {
        padding: 0;
    }
    .skel-hero {
        padding-bottom: 100px;
    }
    .skel-card {
        margin-top: -80px;
        padding: 24px 14px 20px;
    }
    .skel-images {
        gap: 8px;
    }
    .skel-img {
        width: 72px;
        height: 102px;
    }
    .skel-body {
        flex-direction: column;
        align-items: center;
    }
    .skel-photo {
        width: 100%;
        max-width: 180px;
        height: 160px;
    }
    .form-card {
        padding: 10px 20px 30px 20px;
    }
    .hero-text {
        margin-top: 12px;
        padding: 0 0 0 0;
        text-align: center;
        align-self: center;
        display: flex;
        flex-direction: column;
        align-items: center;
        width: 100%;
        justify-content: center;
    }
    .form-section-wrapper {
        margin-top: -70px;
        padding: 0 16px 44px 22px;
        contain: layout style paint;
        min-height: 0;
    }
    .form-intro-guide {
        margin: -10px -20px 20px -20px;
        border-radius: 24px 24px 0 0;
        padding: 11px 14px;
        gap: 5px;
    }
    .fig-label {
        font-size: 11px;
    }
    .fig-num {
        width: 20px;
        height: 20px;
        font-size: 10px;
    }
    .fig-arrow {
        font-size: 15px;
        margin: 0;
    }
    .faq {
        padding: 40px 16px;
        margin: 15px 0;
    }
    .faq {
        padding: 2px 16px;
        margin: 15px 0;
    }
    .lang-btn {
        padding: 4px 10px;
        font-size: 11px;
    }
}
.fig-arrow {
    display: block;
}
