/* =========================================================================
   StyleYaSelf Vendor Engine — Registration Form Styles
   Brand colour: #ea580c (orange)
   ========================================================================= */

.syve-reg-wrapper {
    max-width: 600px;
    margin: 0 auto;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    color: #1a202c;
}

/* Brand header */
.syve-reg-brand {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 8px;
    padding-top: 8px;
}
.syve-reg-brand-mark {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    background: linear-gradient(135deg, #ea580c, #f97316);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-weight: 800;
    font-size: 18px;
    box-shadow: 0 4px 14px rgba(234,88,12,0.3);
}
.syve-reg-brand-text {
    font-size: 17px;
    font-weight: 700;
    color: #111;
    letter-spacing: -0.01em;
}
.syve-reg-heading {
    text-align: center;
    font-size: 22px;
    font-weight: 800;
    color: #111;
    margin: 16px 0 4px;
    letter-spacing: -0.02em;
}
.syve-reg-subheading {
    text-align: center;
    font-size: 14px;
    color: #666;
    margin: 0 0 28px;
}

/* Steps indicator */
.syve-steps {
    display: flex;
    justify-content: space-between;
    margin-bottom: 2rem;
    gap: 4px;
}
.syve-step {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    font-size: 0.75rem;
    font-weight: 500;
    color: #a0aec0;
    cursor: default;
}
.syve-step span {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #e2e8f0;
    color: #718096;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.85rem;
    transition: background 0.2s, color 0.2s;
}
.syve-step.active span {
    background: #ea580c;
    color: #fff;
}
.syve-step.done span {
    background: #10b981;
    color: #fff;
}
.syve-step.active { color: #ea580c; }
.syve-step.done   { color: #10b981; }

/* Step panels */
.syve-step-panel {
    display: none;
}
.syve-step-panel.active {
    display: block;
    animation: syveFadeIn 0.25s ease;
}
@keyframes syveFadeIn {
    from { opacity: 0; transform: translateY(8px); }
    to   { opacity: 1; transform: translateY(0); }
}

.syve-step-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin: 0 0 1.5rem;
    color: #1a202c;
}

/* Fields */
.syve-field {
    margin-bottom: 1.25rem;
}
.syve-field label {
    display: block;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 6px;
    color: #2d3748;
}
.syve-field .req { color: #e53e3e; }
.syve-field input[type="text"],
.syve-field input[type="email"],
.syve-field input[type="tel"],
.syve-field input[type="password"],
.syve-field textarea,
.syve-field select {
    width: 100%;
    padding: 0.625rem 0.875rem;
    border: 1.5px solid #e2e8f0;
    border-radius: 8px;
    font-size: 0.95rem;
    background: #fff;
    color: #1a202c;
    transition: border-color 0.15s;
    box-sizing: border-box;
    font-family: inherit;
}
.syve-field input:focus,
.syve-field textarea:focus,
.syve-field select:focus {
    outline: none;
    border-color: #ea580c;
    box-shadow: 0 0 0 3px rgba(234,88,12,0.12);
}
.syve-field input.syve-invalid,
.syve-field textarea.syve-invalid {
    border-color: #e53e3e;
    box-shadow: 0 0 0 3px rgba(229,62,62,0.1);
}

/* Logo upload */
.syve-logo-upload { display: flex; align-items: center; gap: 1rem; margin-bottom: 1.25rem; }
.syve-logo-preview {
    width: 80px; height: 80px; border-radius: 12px; object-fit: cover;
    border: 2px solid #e2e8f0; flex-shrink: 0;
}
.syve-logo-placeholder {
    width: 80px; height: 80px; border-radius: 12px;
    border: 2px dashed #cbd5e0; background: #f7fafc;
    display: flex; align-items: center; justify-content: center;
    font-size: 2rem; color: #a0aec0; flex-shrink: 0;
}
.syve-upload-btn {
    display: inline-flex; align-items: center; gap: 0.5rem;
    padding: 0.5rem 1rem; border-radius: 8px; font-size: 0.85rem;
    font-weight: 600; cursor: pointer; border: 1.5px solid #e2e8f0;
    background: #fff; color: #2d3748; transition: all 0.15s;
}
.syve-upload-btn:hover { border-color: #ea580c; color: #ea580c; }
.syve-upload-note { font-size: 0.75rem; color: #718096; margin-top: 4px; }
.syve-logo-req-hint { font-size: 0.75rem; color: #e53e3e; margin-top: 4px; display: none; }
.syve-logo-req-hint.visible { display: block; }

/* Review table */
.syve-review { width: 100%; border-collapse: collapse; margin-bottom: 1.5rem; }
.syve-review th,
.syve-review td {
    padding: 0.625rem 0.75rem;
    text-align: left;
    border-bottom: 1px solid #e2e8f0;
    font-size: 0.875rem;
}
.syve-review th { font-weight: 600; color: #718096; width: 35%; }

/* Checkbox */
.syve-checkbox {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 1.5rem;
    font-size: 0.875rem;
    color: #4a5568;
    cursor: pointer;
}
.syve-checkbox input { margin-top: 2px; cursor: pointer; }
.syve-checkbox a { color: #ea580c; text-decoration: underline; }

/* Buttons */
.syve-nav {
    display: flex;
    justify-content: flex-end;
    gap: 0.75rem;
    margin-top: 0.5rem;
}
.syve-btn,
.syve-btn-outline {
    display: inline-flex;
    align-items: center;
    padding: 0.625rem 1.5rem;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.15s;
    border: 2px solid #ea580c;
    text-decoration: none;
}
.syve-btn {
    background: #ea580c;
    color: #fff;
}
.syve-btn:hover { background: #c2410c; border-color: #c2410c; }
.syve-btn:disabled { opacity: 0.6; cursor: not-allowed; }
.syve-btn-outline {
    background: transparent;
    color: #ea580c;
}
.syve-btn-outline:hover { background: #fff7ed; }

/* Error */
.syve-error {
    background: #fff5f5;
    border: 1px solid #fed7d7;
    border-radius: 8px;
    padding: 0.75rem 1rem;
    color: #c53030;
    font-size: 0.875rem;
    margin-bottom: 1rem;
}

/* Success */
.syve-reg-success {
    text-align: center;
    padding: 3rem 1rem;
}
.syve-success-icon {
    width: 64px;
    height: 64px;
    background: #ffedd5;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: #ea580c;
    margin: 0 auto 1.5rem;
}
.syve-reg-success h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 0 0.75rem;
    color: #1a202c;
}
.syve-reg-success p {
    font-size: 0.95rem;
    color: #4a5568;
    margin: 0 0 0.5rem;
    line-height: 1.6;
}

/* Mobile */
@media (max-width: 480px) {
    .syve-step { font-size: 0; }
    .syve-step span { font-size: 0.85rem; }
}
