/* ====================================
   The Stitch Custom Forms - CSS
   Fun & Engaging Design
   ==================================== */

:root {
    --thestitch-primary: #8b7355;
    --thestitch-hover: #6d5a47;
    --thestitch-border: #e0e0e0;
    --thestitch-focus: #8b7355;
    --thestitch-success: #4caf50;
    --thestitch-error: #f44336;
    --thestitch-bg: #ffffff;
    --thestitch-text: #333333;
    --thestitch-width: 620px;
    --thestitch-radius: 28px;
    --thestitch-btn-radius: 50px;
    --thestitch-panel-padding: 30px;
    --ts-accent: #c9a96e;
    --ts-light: #faf6f0;
    --ts-gradient: linear-gradient(135deg, #8b7355, #c9a96e);
}

* { box-sizing: border-box; }

/* ====================================
   FORM CONTAINER
   ==================================== */
.thestitch-form-container {
    width: min(100%, var(--thestitch-width, 100%));
    max-width: 100%;
    margin: clamp(1rem, 3vw, 2rem) auto;
    padding: 0;
    background: var(--thestitch-bg);
    border-radius: var(--thestitch-radius, 28px);
    box-shadow: 0 20px 60px rgba(0,0,0,0.07), 0 8px 20px rgba(0,0,0,0.04);
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    position: relative;
    overflow: hidden;
    animation: formAppear 0.7s cubic-bezier(0.165, 0.84, 0.44, 1);
}

@keyframes formAppear {
    from { opacity: 0; transform: translateY(30px) scale(0.97); }
    to   { opacity: 1; transform: translateY(0) scale(1); }
}

/* Header art strip */
.form-header-art {
    height: 80px;
    background: var(--ts-gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.form-header-art::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 30% 50%, rgba(255,255,255,0.2) 0%, transparent 60%),
                radial-gradient(circle at 80% 30%, rgba(255,255,255,0.1) 0%, transparent 40%);
}

.header-icon {
    font-size: 2.4rem;
    filter: drop-shadow(0 2px 8px rgba(0,0,0,0.15));
    animation: sparkle 2.5s ease-in-out infinite;
}

@keyframes sparkle {
    0%, 100% { transform: scale(1) rotate(0deg); }
    50%      { transform: scale(1.15) rotate(8deg); }
}

.recreate-form-wrap {
    padding-bottom: 0;
}

/* ====================================
   BRIDAL FORM (Luxury Dark)
   ==================================== */
.thestitch-form-container.bridal-form-wrap {
    background: linear-gradient(160deg, #121216 0%, #0d0d12 55%, #08080b 100%);
    border: 1px solid rgba(201, 169, 110, 0.26);
    box-shadow: 0 28px 70px rgba(0, 0, 0, 0.5), 0 2px 22px rgba(201, 169, 110, 0.12);
    max-width: 100%;
    padding: 0 0 clamp(1.2rem, 2vw, 1.75rem);
}

.thestitch-form-container.recreate-form-wrap {
    max-width: 100%;
}

.bridal-form-wrap .bridal-header-art {
    background: linear-gradient(115deg, rgba(201, 169, 110, 0.36) 0%, rgba(201, 169, 110, 0.12) 45%, rgba(255, 255, 255, 0.03) 100%);
    border-bottom: 1px solid rgba(201, 169, 110, 0.22);
}

.bridal-form-wrap h3 {
    color: #f8f5ef;
}

.bridal-intro {
    color: rgba(255, 255, 255, 0.72) !important;
    max-width: 640px;
    margin: 0 auto 1.6rem;
}

.bridal-form {
    padding: 0 clamp(1rem, 3vw, var(--thestitch-panel-padding, 30px));
}

.bridal-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem 1.15rem;
}

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

.bridal-grid .field-half {
    grid-column: span 1;
}

.bridal-form .field-wrap {
    margin: 0;
}

.bridal-form .field-label {
    color: rgba(255, 255, 255, 0.84);
    margin-top: 0;
}

.bridal-form .input-fun,
.bridal-form textarea,
.bridal-form select,
.bridal-form input[type="date"],
.bridal-form input[type="time"] {
    width: 100%;
    border: 1px solid rgba(201, 169, 110, 0.24);
    background: rgba(255, 255, 255, 0.04);
    color: #f5f2ea;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.03);
}

.bridal-form textarea::placeholder,
.bridal-form .input-fun::placeholder {
    color: rgba(255, 255, 255, 0.46);
}

.bridal-form .input-fun:focus,
.bridal-form textarea:focus,
.bridal-form select:focus,
.bridal-form input[type="date"]:focus,
.bridal-form input[type="time"]:focus {
    border-color: rgba(201, 169, 110, 0.72);
    box-shadow: 0 0 0 4px rgba(201, 169, 110, 0.16);
}

.bridal-form select {
    border-radius: 14px;
    padding: 0 12px;
    height: 50px;
    font-size: 0.95rem;
    font-family: inherit;
    outline: none;
}

.bridal-form .date-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.bridal-form .bridal-submit {
    width: 100%;
    margin-top: 0.6rem;
    justify-content: center;
}

.bridal-form .form-response {
    margin: 1rem 0 0;
}

/* Title & Intro */
.thestitch-form-container h3 {
    margin: 1.8rem 0 0.3rem;
    padding: 0 clamp(1rem, 3vw, var(--thestitch-panel-padding, 30px));
    color: var(--thestitch-text);
    text-align: center;
    font-size: 1.9em;
    font-weight: 700;
    letter-spacing: -0.5px;
}

.thestitch-form-container .form-intro {
    text-align: center;
    margin: 0 0 1.5rem;
    padding: 0 clamp(1rem, 3vw, var(--thestitch-panel-padding, 30px));
    color: #888;
    font-size: 0.95rem;
}

/* ====================================
   STEP TRACK (visual progress)
   ==================================== */
.step-track {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    padding: 0 clamp(1rem, 3vw, var(--thestitch-panel-padding, 30px)) 1.5rem;
    -webkit-user-select: none;
    user-select: none;
}

.step-node {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    position: relative;
    z-index: 1;
}

.node-circle {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #eee;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.9rem;
    color: #999;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    border: 3px solid transparent;
}

.step-node.active .node-circle {
    background: var(--ts-gradient);
    color: #fff;
    box-shadow: 0 4px 18px rgba(139,115,85,0.35);
    transform: scale(1.1);
}

.step-node.done .node-circle {
    background: var(--thestitch-success);
    color: #fff;
    box-shadow: 0 4px 14px rgba(76,175,80,0.3);
}

.node-label {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #aaa;
    font-weight: 600;
    transition: color 0.3s;
}

.step-node.active .node-label { color: var(--thestitch-primary); }
.step-node.done .node-label   { color: var(--thestitch-success); }

.step-line {
    flex: 1;
    max-width: 60px;
    height: 3px;
    background: #e8e8e8;
    border-radius: 2px;
    margin: 0 8px;
    margin-bottom: 20px;
    position: relative;
    overflow: hidden;
}

.recreate-form-wrap .step-line {
    max-width: 46px;
}

.recreate-form-wrap .node-label {
    font-size: 0.62rem;
}

.step-line::after {
    content: '';
    position: absolute;
    left: 0; top: 0; height: 100%;
    width: 0%;
    background: var(--ts-gradient);
    border-radius: 2px;
    transition: width 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.step-line.filled::after {
    width: 100%;
}

/* ====================================
   STEP CARDS
   ==================================== */
.form-step {
    padding: 0 clamp(1rem, 3vw, var(--thestitch-panel-padding, 30px));
    animation: stepSlideIn 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
}

@keyframes stepSlideIn {
    from { opacity: 0; transform: translateX(30px); }
    to   { opacity: 1; transform: translateX(0); }
}

.step-card {
    background: var(--ts-light);
    border-radius: 20px;
    padding: 2rem;
    margin-bottom: 1.2rem;
    border: 1px solid rgba(139,115,85,0.08);
    position: relative;
}

.step-emoji {
    font-size: 2.2rem;
    text-align: center;
    margin-bottom: 0.5rem;
    animation: bounceEmoji 1s ease-out;
}

@keyframes bounceEmoji {
    0%   { transform: scale(0); }
    60%  { transform: scale(1.3); }
    100% { transform: scale(1); }
}

.step-card h4 {
    margin: 0 0 0.3rem;
    color: #333;
    font-size: 1.3em;
    font-weight: 700;
    text-align: center;
}

.step-helper {
    margin: 0 0 1.5rem;
    color: #888;
    font-size: 0.9rem;
    text-align: center;
    line-height: 1.5;
}

/* ====================================
   DROP ZONES (file upload)
   ==================================== */
.drop-zone {
    position: relative;
    border: 2px dashed #d0c8bc;
    border-radius: 16px;
    padding: 2rem 1.5rem;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    background: rgba(255,255,255,0.7);
    margin-bottom: 0.8rem;
}

.drop-zone:hover {
    border-color: var(--thestitch-primary);
    background: rgba(139,115,85,0.04);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(139,115,85,0.08);
}

.drop-zone.drag-over {
    border-color: var(--thestitch-primary);
    background: rgba(139,115,85,0.08);
    transform: scale(1.02);
    box-shadow: 0 12px 32px rgba(139,115,85,0.15);
}

.drop-zone-content {
    pointer-events: none;
}

.drop-icon {
    font-size: 2rem;
    margin-bottom: 0.5rem;
    opacity: 0.6;
    transition: all 0.3s;
}

.drop-zone:hover .drop-icon,
.drop-zone.drag-over .drop-icon {
    opacity: 1;
    transform: scale(1.15);
}

.drop-text {
    margin: 0;
    font-weight: 600;
    color: #555;
    font-size: 0.95rem;
}

.drop-subtext {
    margin: 0.3rem 0 0;
    color: #999;
    font-size: 0.8rem;
}

.drop-zone input[type="file"] {
    position: absolute;
    inset: 0;
    opacity: 0;
    cursor: pointer;
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;
    border: none;
}

/* File preview grid */
.file-preview {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(80px, 1fr));
    gap: 10px;
    margin-top: 0.5rem;
}

.file-preview-item {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    background: #f0f0f0;
    aspect-ratio: 1;
    animation: popIn 0.35s cubic-bezier(0.165, 0.84, 0.44, 1);
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

@keyframes popIn {
    from { opacity: 0; transform: scale(0.7); }
    to   { opacity: 1; transform: scale(1); }
}

.file-preview-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.file-preview-item .remove-btn {
    position: absolute;
    top: 4px;
    right: 4px;
    background: rgba(200,0,0,0.85);
    color: white;
    border: none;
    border-radius: 50%;
    width: 22px;
    height: 22px;
    font-size: 13px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.2s;
}

.file-preview-item:hover .remove-btn { opacity: 1; }
.file-preview-item .remove-btn:hover { background: rgba(200,0,0,1); transform: scale(1.1); }

/* ====================================
   FORM LABELS
   ==================================== */
.field-label {
    display: block;
    margin: 1.2rem 0 0.5rem;
    font-weight: 600;
    color: #444;
    font-size: 0.85rem;
    letter-spacing: 0.3px;
}

.optional-tag {
    font-weight: 400;
    color: #aaa;
    font-size: 0.75rem;
    text-transform: uppercase;
    margin-left: 4px;
}

/* ====================================
   TEXTAREA
   ==================================== */
.textarea-wrap {
    position: relative;
    margin-bottom: 0.5rem;
}

.thestitch-form textarea {
    width: 100%;
    padding: 14px 16px;
    border: 2px solid #e4ddd4;
    border-radius: 14px;
    font-size: 0.95rem;
    font-family: inherit;
    background: #fff;
    color: var(--thestitch-text);
    transition: all 0.3s ease;
    resize: vertical;
    min-height: 100px;
    line-height: 1.6;
    outline: none;
}

.thestitch-form textarea:focus {
    border-color: var(--thestitch-primary);
    box-shadow: 0 0 0 4px rgba(139,115,85,0.1);
}

.char-hint {
    display: block;
    text-align: right;
    font-size: 0.72rem;
    color: #bbb;
    margin-top: 4px;
    padding-right: 4px;
}

/* ====================================
   FUN INPUTS
   ==================================== */
.input-fun {
    width: 100%;
    padding: 14px 16px;
    border: 2px solid #e4ddd4;
    border-radius: 14px;
    font-size: 0.95rem;
    font-family: inherit;
    background: #fff;
    color: var(--thestitch-text);
    transition: all 0.3s ease;
    outline: none;
}

.input-fun:focus {
    border-color: var(--thestitch-primary);
    box-shadow: 0 0 0 4px rgba(139,115,85,0.1);
    transform: translateY(-1px);
}

/* ====================================
   SIZING TOGGLE (card-style radio)
   ==================================== */
.sizing-toggle {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-bottom: 1rem;
}

.toggle-option input { display: none; }

.toggle-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    padding: 1.2rem 1rem;
    border: 2px solid #e4ddd4;
    border-radius: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    background: #fff;
    text-align: center;
}

.toggle-card:hover {
    border-color: var(--thestitch-primary);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(139,115,85,0.1);
}

.toggle-option input:checked + .toggle-card {
    border-color: var(--thestitch-primary);
    background: rgba(139,115,85,0.06);
    box-shadow: 0 6px 20px rgba(139,115,85,0.12);
}

.toggle-icon {
    font-size: 1.6rem;
}

.toggle-label {
    font-weight: 700;
    font-size: 0.95rem;
    color: #333;
}

.toggle-desc {
    font-size: 0.75rem;
    color: #999;
}

/* ====================================
   SIZE CHIPS
   ==================================== */
.size-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.chip input { display: none; }

.chip span {
    display: inline-block;
    padding: 10px 18px;
    border: 2px solid #e4ddd4;
    border-radius: 50px;
    cursor: pointer;
    font-weight: 600;
    font-size: 0.85rem;
    color: #666;
    transition: all 0.25s ease;
    background: #fff;
}

.chip span:hover {
    border-color: var(--thestitch-primary);
    color: var(--thestitch-primary);
    transform: translateY(-2px);
}

.chip input:checked + span {
    background: var(--ts-gradient);
    color: #fff;
    border-color: transparent;
    box-shadow: 0 4px 14px rgba(139,115,85,0.3);
    transform: scale(1.05);
}

/* ====================================
   MEASUREMENT GRID
   ==================================== */
.measurement-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}

.measure-field {
    text-align: center;
}

.measure-field .input-fun {
    text-align: center;
    font-weight: 700;
    font-size: 1.1rem;
    padding: 12px;
}

.measure-label {
    display: block;
    margin-top: 6px;
    font-size: 0.75rem;
    color: #999;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 600;
}

/* ====================================
   SIZING PANELS
   ==================================== */
.sizing-panel {
    animation: fadeSlideDown 0.4s ease;
}

@keyframes fadeSlideDown {
    from { opacity: 0; transform: translateY(-10px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* ====================================
   BUTTONS
   ==================================== */
.button-group {
    display: flex;
    gap: 12px;
    padding: 0 clamp(1rem, 3vw, var(--thestitch-panel-padding, 30px)) clamp(1.25rem, 3vw, 2rem);
    justify-content: center;
}

.btn-fun {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    background: var(--ts-gradient);
    color: #fff;
    border: none;
    border-radius: var(--thestitch-btn-radius, 50px);
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
    letter-spacing: 0.3px;
    box-shadow: 0 4px 18px rgba(139,115,85,0.25);
    position: relative;
    overflow: hidden;
}

.btn-fun::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.15) 0%, transparent 50%);
    opacity: 0;
    transition: opacity 0.3s;
}

.btn-fun:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(139,115,85,0.35);
}

.btn-fun:hover::before { opacity: 1; }

.btn-fun:active {
    transform: translateY(-1px);
    box-shadow: 0 4px 14px rgba(139,115,85,0.25);
}

.btn-arrow {
    font-size: 1.1em;
    transition: transform 0.3s;
}

.btn-fun:hover .btn-arrow { transform: translateX(3px); }
.btn-back:hover .btn-arrow { transform: translateX(-3px); }

.btn-back {
    background: #f0ebe4;
    color: #666;
    box-shadow: none;
}

.btn-back:hover {
    background: #e6dfd6;
    color: #444;
    box-shadow: 0 6px 20px rgba(0,0,0,0.08);
}

/* Submit glow */
.btn-glow {
    padding: 16px 32px;
    font-size: 1rem;
}

.bridal-form .field-wrap,
.bridal-form .phone-input-wrap,
.bridal-form .iti {
    min-width: 0;
}

.bridal-form textarea {
    min-height: 132px;
}

.recreate-form-wrap .step-card {
    padding: clamp(1.25rem, 3vw, 2rem);
}

.recreate-form-wrap .drop-zone {
    padding: clamp(1.35rem, 3vw, 2rem) clamp(1rem, 2.6vw, 1.5rem);
}

@media (min-width: 1100px) {
    .recreate-form-wrap #step-5 .step-card {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 1rem 1.35rem;
        align-items: start;
    }

    .recreate-form-wrap #step-5 .step-emoji,
    .recreate-form-wrap #step-5 h4,
    .recreate-form-wrap #step-5 .step-helper,
    .recreate-form-wrap #step-5 .field-label:first-of-type,
    .recreate-form-wrap #step-5 input[name="email"],
    .recreate-form-wrap #step-5 .field-label:nth-of-type(2),
    .recreate-form-wrap #step-5 .sizing-toggle,
    .recreate-form-wrap #step-5 #standard-sizing,
    .recreate-form-wrap #step-5 #custom-sizing {
        grid-column: 1 / -1;
    }
}

.btn-glow:hover {
    box-shadow: 0 10px 35px rgba(139,115,85,0.4), 0 0 20px rgba(201,169,110,0.2);
}

.submit-icon {
    font-size: 1.2em;
    animation: sparkle 2s ease-in-out infinite;
}

/* ====================================
   FORM RESPONSE
   ==================================== */
.form-response {
    margin: 0 2rem 2rem;
    padding: 14px 18px;
    border-radius: 14px;
    display: none;
    font-weight: 500;
    font-size: 0.92rem;
    animation: popIn 0.4s ease;
}

.form-response.success {
    display: block;
    background: #e8f5e9;
    color: #2e7d32;
    border: 1px solid rgba(76,175,80,0.2);
}

.form-response.error {
    display: block;
    background: #ffebee;
    color: #c62828;
    border: 1px solid rgba(198,40,40,0.15);
}

.form-response.loading {
    display: block;
    background: #e3f2fd;
    color: #1565c0;
    border: 1px solid rgba(33,150,243,0.15);
}

.spinner {
    display: inline-block;
    width: 14px;
    height: 14px;
    border: 2px solid rgba(0,0,0,0.15);
    border-top-color: currentColor;
    border-radius: 50%;
    animation: spin 0.7s linear infinite;
    margin-right: 8px;
    vertical-align: middle;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* ====================================
   VALIDATION
   ==================================== */
.form-error-message {
    color: #c62828;
    font-size: 0.8em;
    margin-top: -0.5em;
    margin-bottom: 0.5em;
    padding-left: 4px;
    display: none;
}

.form-error-message.show { display: block; }

/* ====================================
   MOBILE
   ==================================== */
@media (max-width: 768px) {
    .thestitch-form-container {
        width: 100%;
        max-width: 100%;
        border-radius: 18px;
        margin: 1rem auto 1.2rem;
    }
    .form-header-art { height: 60px; }
    .header-icon { font-size: 1.8rem; }
    .thestitch-form-container h3 { font-size: 1.5em; padding: 0 1.2rem; }
    .form-intro { padding: 0 1.2rem; }
    .step-track { padding: 0 1.2rem 1.2rem; }
    .recreate-form-wrap .step-track {
        justify-content: flex-start;
        overflow-x: auto;
        overflow-y: hidden;
        padding-bottom: 1rem;
    }
    .recreate-form-wrap .step-track::-webkit-scrollbar { height: 4px; }
    .recreate-form-wrap .step-track::-webkit-scrollbar-thumb {
        background: rgba(201, 169, 110, 0.35);
        border-radius: 999px;
    }
    .recreate-form-wrap .step-node { min-width: 64px; }
    .node-circle { width: 32px; height: 32px; font-size: 0.8rem; }
    .node-label { font-size: 0.6rem; }
    .step-line { max-width: 40px; }
    .form-step { padding: 0 1.2rem; }
    .step-card { padding: 1.5rem; border-radius: 16px; }
    .step-emoji { font-size: 1.8rem; }
    .step-card h4 { font-size: 1.1em; }
    .button-group { padding: 0 1.2rem 1.5rem; }
    .btn-fun { width: 100%; justify-content: center; padding: 14px; }
    .measurement-grid { grid-template-columns: 1fr; gap: 10px; }
    .file-preview { grid-template-columns: repeat(auto-fill, minmax(65px, 1fr)); }
    .form-response { margin: 0 1.2rem 1.5rem; }
    .step-card h4::after { display: none; }

    .bridal-form { padding: 0 1.2rem; }
    .bridal-grid {
        grid-template-columns: 1fr;
        gap: 0.95rem;
    }
    .bridal-grid .field-half,
    .bridal-grid .field-full {
        grid-column: auto;
    }
    .bridal-form .date-grid { grid-template-columns: 1fr; }
    .bridal-form-wrap { padding-bottom: 1.2rem; }
    .bridal-form .bridal-submit { width: 100%; }
}

@media (min-width: 769px) and (max-width: 1024px) {
    .thestitch-form-container,
    .thestitch-form-container.recreate-form-wrap {
        max-width: 100%;
    }
}

/* Disabled */
.thestitch-form input:disabled,
.thestitch-form textarea:disabled {
    background-color: #f5f5f5;
    color: #999;
    cursor: not-allowed;
}

.btn-fun:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none !important;
    box-shadow: none !important;
}

/* ====================================
   SVG ICONS + PHONE INPUT
   ==================================== */
.ts-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 0;
    color: currentColor;
}

.ts-icon svg {
    width: 1em;
    height: 1em;
    display: block;
}

.header-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fffaf0;
}

.header-icon .ts-icon {
    font-size: 2.35rem;
}

.step-emoji,
.drop-icon,
.toggle-icon,
.submit-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--thestitch-primary);
}

.step-emoji .ts-icon,
.toggle-icon .ts-icon {
    font-size: 2rem;
}

.drop-icon .ts-icon {
    font-size: 2.15rem;
}

.btn-fun .ts-icon,
.submit-icon .ts-icon {
    font-size: 1.1rem;
}

.bridal-form .phone-input-wrap {
    position: relative;
}

.bridal-form .iti {
    width: 100%;
}

.bridal-form .iti input,
.bridal-form .iti input.input-fun {
    width: 100%;
    min-height: 54px;
    padding-top: 14px;
    padding-bottom: 14px;
    border: 1px solid rgba(201, 169, 110, 0.24);
    background: rgba(255, 255, 255, 0.04);
    color: #f5f2ea;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.03);
}

.bridal-form .iti input::placeholder {
    color: rgba(255, 255, 255, 0.46);
}

.bridal-form .iti input:focus {
    border-color: rgba(201, 169, 110, 0.72);
    box-shadow: 0 0 0 4px rgba(201, 169, 110, 0.16);
}

.bridal-form .iti--separate-dial-code .iti__selected-country {
    min-height: 54px;
    padding-inline: 14px 10px;
    border-radius: 14px 0 0 14px;
    background: rgba(255, 255, 255, 0.05);
    border-right: 1px solid rgba(201, 169, 110, 0.18);
}

.bridal-form .iti__selected-dial-code,
.bridal-form .iti__arrow,
.bridal-form .iti__country-name,
.bridal-form .iti__dial-code {
    color: #f5f2ea;
}

.bridal-form .iti__country-list {
    background: #15151c;
    color: #f5f2ea;
    border: 1px solid rgba(201, 169, 110, 0.24);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.32);
}

.bridal-form .iti__country.iti__highlight,
.bridal-form .iti__country:hover {
    background: rgba(201, 169, 110, 0.14);
}

.phone-input-wrap + .form-error-message {
    margin-top: 0.45rem;
}

.ts-preview-shell {
    animation: none;
}

.ts-preview-shell .drop-zone,
.ts-preview-shell .btn-fun,
.ts-preview-shell input,
.ts-preview-shell textarea,
.ts-preview-shell select,
.ts-preview-shell label {
    pointer-events: none;
}

.ts-preview-shell .bridal-submit,
.ts-preview-shell .btn-submit {
    opacity: 1;
}

@media (max-width: 768px) {
    .header-icon .ts-icon {
        font-size: 1.8rem;
    }

    .step-emoji .ts-icon,
    .drop-icon .ts-icon,
    .toggle-icon .ts-icon {
        font-size: 1.6rem;
    }
}
