* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Text', 'SF Pro Display', 'Helvetica Neue', Helvetica, Arial, sans-serif;
    background: #FFFFFF;
    min-height: 100vh;
    padding: 0;
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.container {
    max-width: 500px;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
}

/* Brand Header */
.brand-header {
    text-align: center;
    margin-bottom: 40px;
    width: 100%;
}

.brand-logo {
    font-size: 32px;
    font-weight: 400;
    color: #000000;
    margin-bottom: 8px;
    letter-spacing: 6.46px;
    text-transform: uppercase;
    font-family: 'Inter', sans-serif;
}

.brand-tagline {
    font-size: 16px;
    color: #999999;
    font-weight: 400;
    margin: 0;
    font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Text', 'SF Pro Display', 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

/* Auth Cards */
.auth-card {
    background: #FFFFFF;
    border-radius: 12px;
    padding: 40px;
    width: 100%;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.1);
}

.form-title {
    color: #000000;
    margin-bottom: 32px;
    font-size: 24px;
    font-weight: 600;
    text-align: left;
    font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Text', 'SF Pro Display', 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

.subtitle {
    color: #666;
    margin-bottom: 30px;
    font-size: 14px;
}

/* Forms */
.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: #000000;
    font-weight: 500;
    font-size: 14px;
    font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Text', 'SF Pro Display', 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    background-color: #F5F5F5;
    transition: border-color 0.3s, background-color 0.3s;
    color: #000000;
    font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Text', 'SF Pro Display', 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border: none;
    background-color: #FFFFFF;
    box-shadow: 0 0 0 1px #000000;
}

.form-group input::placeholder {
    color: #999999;
}

.form-group small {
    display: block;
    margin-top: 5px;
    color: #666;
    font-size: 12px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

@media (min-width: 768px) {
    .form-row {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Buttons */
.btn {
    padding: 12px 24px;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-primary {
    background: #000000;
    color: #FFFFFF;
    width: 100%;
    font-weight: 500;
    font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Text', 'SF Pro Display', 'Helvetica Neue', Helvetica, Arial, sans-serif;
    margin-top: 8px;
    position: relative;
    min-height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-primary:hover {
    background: #333333;
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.btn-primary:active {
    transform: translateY(0);
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.1);
}

.btn-primary:disabled {
    cursor: not-allowed;
}

.btn-primary.loading {
    pointer-events: none;
    opacity: 1 !important;
}

.btn-primary.loading::before {
    content: none;
}

.btn-primary.loading:hover {
    background: #000000;
    transform: none;
    box-shadow: none;
}

/* Spinner - only visible when parent has .loading or explicitly shown */
.spinner {
    display: none;
    width: 24px;
    height: 24px;
    min-width: 24px;
    min-height: 24px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: #FFFFFF;
    border-right-color: rgba(255, 255, 255, 0.7);
    animation: spin 0.8s linear infinite;
    margin: 0 auto;
    flex-shrink: 0;
    box-sizing: border-box;
    background: transparent;
}

/* Show spinner when parent button is in loading state */
.loading .spinner,
.btn-loading .spinner {
    display: block;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.btn-secondary {
    background: #f0f0f0;
    color: #333;
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 44px;
    padding: 12px 24px;
    min-width: 100px;
}

.btn-secondary:hover:not(:disabled) {
    background: #e0e0e0;
}

.btn-secondary:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.btn-secondary.loading {
    justify-content: center;
}

.btn-secondary.loading .btn-text {
    opacity: 0;
    visibility: hidden;
    position: absolute;
    pointer-events: none;
}

.btn-secondary.loading .btn-spinner {
    display: inline-block !important;
    border-color: rgba(51, 51, 51, 0.3);
    border-top-color: #333333;
    position: relative;
    margin: 0;
    flex-shrink: 0;
}

.btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/* Links */
.login-link {
    text-align: center;
    margin-top: 24px;
    color: #666666;
    font-size: 14px;
    font-weight: 400;
    font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Text', 'SF Pro Display', 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

.login-link a {
    color: #000000;
    text-decoration: none;
    font-weight: 700;
}

.login-link a:hover {
    text-decoration: underline;
    opacity: 0.8;
}

/* Messages */
.error-message {
    background: #fee;
    color: #c33;
    padding: 12px;
    border-radius: 8px;
    margin-top: 20px;
    font-size: 14px;
}

.success-message {
    background: #efe;
    color: #3c3;
    padding: 12px;
    border-radius: 8px;
    margin-top: 20px;
    font-size: 14px;
}

.info-message {
    background: #e8f4fc;
    color: #1a5276;
    padding: 12px;
    border-radius: 8px;
    margin-top: 20px;
    font-size: 14px;
}

/* Approval Status Messaging */
.success-content,
.approval-pending,
.approval-rejected {
    text-align: center;
    padding: 1rem;
}

.success-icon,
.approval-icon {
    font-size: 2.5rem;
    margin-bottom: 0.75rem;
}

.success-content h3 {
    margin: 0 0 0.75rem;
    color: #047857;
    font-size: 1.25rem;
}

.success-content p {
    margin: 0.5rem 0;
    color: #374151;
}

.success-hint {
    font-size: 0.875rem;
    color: #6b7280;
    margin-top: 1rem !important;
}

.approval-pending strong,
.approval-rejected strong {
    display: block;
    margin-bottom: 0.5rem;
    font-size: 1rem;
}

.approval-pending p,
.approval-rejected p {
    margin: 0.25rem 0;
}

.rejection-help {
    font-size: 0.875rem;
    color: #6b7280;
    margin-top: 0.75rem !important;
}

/* Dashboard Styles */
.dashboard-body {
    min-height: 100vh;
    background: #f5f5f5;
    padding: 0;
    margin: 0;
    display: block;
}

.dashboard-container {
    min-height: 100vh;
    background: #f5f5f5;
}

.dashboard-header {
    background: white;
    border-bottom: 1px solid #e5e7eb;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.dashboard-header-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1.5rem 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.dashboard-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: #000000;
    margin: 0;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

.company-name {
    color: #6b7280;
    font-size: 0.875rem;
    font-weight: 500;
}

.dashboard-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem 1rem;
}

/* Tab Navigation */
.dashboard-tabs {
    display: flex;
    gap: 0.75rem;
    padding: 1.5rem 1rem 0.75rem 1rem;
    max-width: 1200px;
    margin: 0 auto;
    background: transparent;
    position: relative;
    border: none;
}

.tab-button {
    padding: 0.625rem 1.25rem;
    background: #f5f5f5;
    border: 1px solid #e5e7eb;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 500;
    color: #6b7280;
    cursor: pointer;
    transition: all 0.2s ease;
    font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Text', 'SF Pro Display', 'Helvetica Neue', Helvetica, Arial, sans-serif;
    position: relative;
    white-space: nowrap;
}

.tab-button:hover {
    color: #000000;
    background: #e5e7eb;
    border-color: #d1d5db;
}

.tab-button.active {
    background: #000000;
    color: #FFFFFF;
    border-color: #000000;
    font-weight: 500;
}

.tab-button:focus {
    outline: none;
}

.tab-button:focus-visible {
    outline: 2px solid #000000;
    outline-offset: 2px;
    border-radius: 20px;
}

/* Tab Content */
.tab-content {
    display: none;
    animation: fadeIn 0.2s ease-in;
}

.tab-content.active {
    display: block;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(4px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Company Name Header */
.company-name-header {
    padding: 0.5rem 1rem 0 1rem;
    max-width: 1200px;
    margin: 0 auto;
}

.company-name-display {
    font-size: 2rem;
    font-weight: 600;
    color: #000000;
    margin: 0;
    font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Text', 'SF Pro Display', 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

@media (max-width: 768px) {
    .dashboard-tabs {
        padding: 1.25rem 0.5rem 0.5rem 0.5rem;
        gap: 0.5rem;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
    
    .tab-button {
        padding: 0.5rem 1rem;
        font-size: 0.8125rem;
        white-space: nowrap;
        min-width: fit-content;
    }
    
    .company-name-header {
        padding: 0.25rem 0.5rem 0 0.5rem;
    }
    
    .company-name-display {
        font-size: 1.5rem;
    }
}

.card-custom {
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.07);
    margin-bottom: 2rem;
    overflow: hidden;
    transition: transform 0.2s, box-shadow 0.2s;
}

.card-custom:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 12px rgba(0, 0, 0, 0.1);
}

.card-header-custom {
    padding: 1.5rem;
    border-bottom: 1px solid #f3f4f6;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.card-title-custom {
    font-size: 1.25rem;
    font-weight: 600;
    color: #111827;
    margin-bottom: 0.25rem;
}

.card-description-custom {
    font-size: 0.875rem;
    color: #6b7280;
}

.card-content-custom {
    padding: 1.5rem;
}

.space-y-2 > * + * {
    margin-top: 0.5rem;
}

.space-y-4 > * + * {
    margin-top: 1rem;
}

.space-y-6 > * + * {
    margin-top: 1.5rem;
}

.text-sm {
    font-size: 0.875rem;
}

.text-gray-600 {
    color: #6b7280;
}

.mt-1 {
    margin-top: 0.25rem;
}

.mt-2 {
    margin-top: 0.5rem;
}

.flex {
    display: flex;
}

.items-center {
    align-items: center;
}

.gap-4 {
    gap: 1rem;
}

.cursor-pointer {
    cursor: pointer;
}

.flex-1 {
    flex: 1;
}

.w-full {
    width: 100%;
}

.h-full {
    height: 100%;
}

.object-cover {
    object-fit: cover;
}

/* Form Grid */
.form-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
}

@media (min-width: 768px) {
    .form-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.form-grid > div {
    display: flex;
    flex-direction: column;
}

.form-grid label {
    display: block;
    margin-bottom: 0.25rem;
    color: #000000;
    font-weight: 500;
    font-size: 14px;
}

.form-grid input,
.form-grid select,
.form-grid textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #E0E0E0;
    border-radius: 8px;
    font-size: 14px;
    background-color: #FFFFFF;
    transition: border-color 0.3s;
    color: #000000;
}

.form-grid input:focus,
.form-grid select:focus,
.form-grid textarea:focus {
    outline: none;
    border: 1px solid #000000;
    background-color: #FFFFFF;
    box-shadow: none;
}

.form-grid input::placeholder {
    color: #999999;
}

/* Form labels and inputs outside form-grid */
.card-content-custom label {
    display: block;
    margin-bottom: 0.25rem;
    color: #000000;
    font-weight: 500;
    font-size: 14px;
}

.card-content-custom input:not([type="checkbox"]):not([type="file"]),
.card-content-custom select,
.card-content-custom textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #E0E0E0;
    border-radius: 8px;
    font-size: 14px;
    background-color: #FFFFFF;
    transition: border-color 0.3s;
    color: #000000;
    font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Text', 'SF Pro Display', 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

.card-content-custom input:not([type="checkbox"]):not([type="file"]):focus,
.card-content-custom select:focus,
.card-content-custom textarea:focus {
    outline: none;
    border: 1px solid #000000;
    background-color: #FFFFFF;
    box-shadow: none;
}

.card-content-custom input::placeholder {
    color: #999999;
}

/* Occasion, Weather, and Materials Containers */
.occasion-container,
.weather-container,
.materials-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
    margin-top: 0.75rem;
}

@media (min-width: 768px) {
    .occasion-container {
        grid-template-columns: repeat(4, 1fr);
    }
    
    .weather-container {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .materials-container {
        grid-template-columns: repeat(4, 1fr);
    }
}

.checkbox-card {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 1.25rem;
    border: 2px solid #e5e7eb;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    background: white;
    position: relative;
}

.checkbox-card:hover {
    border-color: #000000;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.checkbox-card input[type="checkbox"] {
    position: relative;
    z-index: 1;
    width: 18px;
    height: 18px;
    cursor: pointer;
    accent-color: #000000;
}

.checkbox-card.selected {
    border-color: #000000;
    background: #000000;
    color: white;
}

.checkbox-card.selected label {
    color: white;
}

.checkbox-card label {
    cursor: pointer;
    flex: 1;
    position: relative;
    z-index: 1;
    margin: 0;
    color: #111827;
    transition: color 0.3s;
}

.checkbox-card.disabled {
    opacity: 0.5;
    cursor: not-allowed;
    pointer-events: none;
    background: #f5f5f5;
    border-color: #e0e0e0;
}

.checkbox-card.disabled:hover {
    transform: none;
    box-shadow: none;
    border-color: #e0e0e0;
}

.checkbox-card.disabled label {
    cursor: not-allowed;
    color: #999;
}

/* Checkbox grid for compact display */
.checkbox-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 0.75rem;
}

/* Personalization section styling */
.personalization-section {
    background: #f9fafb;
    border-radius: 12px;
    padding: 1.25rem;
    border: 1px solid #e5e7eb;
}

.personalization-section .section-header {
    padding-bottom: 0.75rem;
    border-bottom: 1px solid #e5e7eb;
    margin-bottom: 1rem;
}

.personalization-section .section-header:hover {
    background: #f3f4f6;
    margin: -1.25rem -1.25rem 1rem -1.25rem;
    padding: 1.25rem 1.25rem 0.75rem 1.25rem;
    border-radius: 12px 12px 0 0;
}

.personalization-content {
    animation: slideDown 0.2s ease-out;
}

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

/* Image Upload */
.image-upload-preview {
    width: 140px;
    height: 140px;
    border: 2px dashed #e5e7eb;
    border-radius: 12px;
    overflow: hidden;
    background: #ffffff;
}

.image-upload-preview img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.upload-button-custom {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    background: white;
    cursor: pointer;
    transition: all 0.2s;
    font-size: 0.875rem;
    font-weight: 500;
}

.upload-button-custom:hover {
    background: #f9fafb;
    border-color: #9ca3af;
    transform: translateY(-1px);
}

/* Submit Button */
.submit-button-custom {
    background: #000000;
    color: white;
    padding: 0.75rem 2rem;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    font-size: 14px;
    width: 100%;
    margin-top: 1.5rem;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 44px;
}

.submit-button-custom:hover:not(:disabled) {
    background: #333333;
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
}

.submit-button-custom:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.btn-spinner {
    width: 20px;
    height: 20px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: #FFFFFF;
    animation: spin 0.8s linear infinite;
    display: inline-block;
}

.submit-button-custom.loading .btn-text {
    opacity: 0;
}

.submit-button-custom.loading .btn-spinner {
    display: inline-block !important;
}

/* Clothing Items Grid */
.clothing-items-grid {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 1.5rem;
}

@media (min-width: 768px) {
    .clothing-items-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .clothing-items-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.clothing-item-card {
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    overflow: hidden;
    background: white;
    transition: all 0.3s;
}

.clothing-item-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
}

.clothing-item-image {
    aspect-ratio: 1;
    background: #f5f5f5;
}

.clothing-item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.clothing-item-content {
    padding: 1.25rem;
}

.clothing-item-title {
    font-weight: 600;
    font-size: 1.125rem;
    color: #111827;
    margin-bottom: 0.5rem;
}

.clothing-item-type {
    font-size: 0.875rem;
    color: #6b7280;
    margin-bottom: 0.75rem;
}

.clothing-item-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 0.75rem;
}

.clothing-item-tag {
    font-size: 0.75rem;
    background: #000000;
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
}

.empty-state {
    text-align: center;
    padding: 4rem 1rem;
    color: #9ca3af;
}

/* Upload Progress - Legacy */
.upload-progress {
    margin-top: 20px;
    padding: 20px;
    background: #f5f5f5;
    border-radius: 8px;
}

.progress-bar {
    width: 100%;
    height: 8px;
    background: #e0e0e0;
    border-radius: 4px;
    margin-top: 10px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: #000000;
    width: 0%;
    animation: progress 2s infinite;
}

@keyframes progress {
    0% { width: 0%; }
    50% { width: 70%; }
    100% { width: 100%; }
}

/* ===== WIZARD STYLES ===== */

/* Wizard Progress Bar */
.wizard-progress {
    margin-bottom: 2.5rem;
    padding: 0 1rem;
}

.wizard-progress-bar {
    height: 4px;
    background: #e5e7eb;
    border-radius: 2px;
    margin-bottom: 1.5rem;
    overflow: hidden;
}

.wizard-progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #000000, #333333);
    border-radius: 2px;
    width: 33.33%;
    transition: width 0.4s ease-out;
}

.wizard-steps {
    display: flex;
    justify-content: space-between;
    position: relative;
}

.wizard-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    flex: 1;
}

.wizard-step-number {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #e5e7eb;
    color: #6b7280;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 0.875rem;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.wizard-step.active .wizard-step-number {
    background: #000000;
    color: #ffffff;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.wizard-step.completed .wizard-step-number {
    background: #10b981;
    color: #ffffff;
    border-color: #10b981;
}

.wizard-step.completed .wizard-step-number::after {
    content: '✓';
}

.wizard-step-label {
    font-size: 0.8125rem;
    font-weight: 500;
    color: #9ca3af;
    transition: color 0.3s ease;
}

.wizard-step.active .wizard-step-label,
.wizard-step.completed .wizard-step-label {
    color: #111827;
}

/* Wizard Panels */
.wizard-panel {
    display: none;
    animation: wizardFadeIn 0.4s ease-out;
}

.wizard-panel.active {
    display: block;
}

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

.step-title {
    font-size: 1.375rem;
    font-weight: 600;
    color: #111827;
    margin-bottom: 0.5rem;
}

.step-description {
    font-size: 0.9375rem;
    color: #6b7280;
    margin-bottom: 2rem;
    line-height: 1.5;
}

/* Wizard Actions */
.wizard-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 2.5rem;
    padding-top: 2rem;
    border-top: 1px solid #e5e7eb;
}

/* Wizard Buttons */
.btn-wizard {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.875rem 1.75rem;
    border-radius: 10px;
    font-size: 0.9375rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    border: none;
    font-family: inherit;
}

.btn-wizard:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.btn-wizard-primary {
    background: #000000;
    color: #ffffff;
}

.btn-wizard-primary:hover:not(:disabled) {
    background: #1a1a1a;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
}

.btn-wizard-primary:active:not(:disabled) {
    transform: translateY(0);
}

.btn-wizard-secondary {
    background: #f5f5f5;
    color: #374151;
    border: 1px solid #e5e7eb;
}

.btn-wizard-secondary:hover:not(:disabled) {
    background: #e5e7eb;
    transform: translateY(-1px);
}

.btn-wizard-success {
    background: #10b981;
}

.btn-wizard-success:hover:not(:disabled) {
    background: #059669;
}

.btn-wizard .btn-icon {
    font-size: 1rem;
}

.btn-wizard .btn-spinner {
    width: 18px;
    height: 18px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: #ffffff;
    animation: spin 0.8s linear infinite;
}

.btn-wizard.loading .btn-text,
.btn-wizard.loading .btn-icon {
    display: none;
}

.btn-wizard.loading .btn-spinner {
    display: inline-block !important;
}

/* Upload Dropzone */
.upload-section {
    margin-top: 1.5rem;
}

.upload-dropzone {
    border: 2px dashed #d1d5db;
    border-radius: 16px;
    padding: 3rem 2rem;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    background: linear-gradient(180deg, #fafafa 0%, #ffffff 100%);
    position: relative;
    min-height: 280px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.upload-dropzone:hover {
    border-color: #000000;
    background: linear-gradient(180deg, #f5f5f5 0%, #ffffff 100%);
}

.upload-dropzone.dragover {
    border-color: #000000;
    background: #f5f5f5;
    transform: scale(1.02);
}

.upload-dropzone.has-image {
    border-style: solid;
    border-color: #10b981;
    background: #ffffff;
    padding: 1rem;
}

.dropzone-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
}

.dropzone-icon {
    font-size: 3.5rem;
    margin-bottom: 0.5rem;
}

.dropzone-text {
    font-size: 1.125rem;
    font-weight: 600;
    color: #111827;
    margin: 0;
}

.dropzone-subtext {
    font-size: 0.9375rem;
    color: #6b7280;
    margin: 0;
}

.dropzone-hint {
    font-size: 0.8125rem;
    color: #9ca3af;
    margin: 0.5rem 0 0;
}

.dropzone-preview {
    position: relative;
    width: 100%;
    max-width: 300px;
    margin: 0 auto;
}

.dropzone-preview img {
    width: 100%;
    height: auto;
    max-height: 250px;
    object-fit: contain;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.preview-remove {
    position: absolute;
    top: -10px;
    right: -10px;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #ef4444;
    color: white;
    border: none;
    font-size: 1.25rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(239, 68, 68, 0.3);
    transition: all 0.2s ease;
}

.preview-remove:hover {
    background: #dc2626;
    transform: scale(1.1);
}

/* Processing State */
.processing-container {
    text-align: center;
    padding: 3rem 2rem;
}

.processing-spinner {
    width: 64px;
    height: 64px;
    border: 4px solid #e5e7eb;
    border-top-color: #000000;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 2rem;
}

.processing-title {
    font-size: 1.375rem;
    font-weight: 600;
    color: #111827;
    margin-bottom: 0.5rem;
}

.processing-description {
    font-size: 0.9375rem;
    color: #6b7280;
    margin-bottom: 2rem;
}

.processing-steps {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    max-width: 280px;
    margin: 0 auto;
    text-align: left;
}

.processing-step {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: #9ca3af;
    font-size: 0.9375rem;
    transition: color 0.3s ease;
}

.processing-step.active {
    color: #111827;
}

.processing-step.completed {
    color: #10b981;
}

.processing-step-icon {
    font-size: 1rem;
    width: 20px;
    text-align: center;
}

/* Error State */
.error-container {
    text-align: center;
    padding: 3rem 2rem;
}

.error-icon {
    font-size: 4rem;
    margin-bottom: 1.5rem;
}

.error-title {
    font-size: 1.375rem;
    font-weight: 600;
    color: #dc2626;
    margin-bottom: 0.75rem;
}

.error-description {
    font-size: 0.9375rem;
    color: #6b7280;
    margin-bottom: 2rem;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.5;
}

/* Success State */
.success-container {
    text-align: center;
    padding: 3rem 2rem;
}

.success-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: #10b981;
    color: white;
    font-size: 2.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    box-shadow: 0 8px 24px rgba(16, 185, 129, 0.3);
    animation: successPop 0.5s ease-out;
}

@keyframes successPop {
    0% {
        transform: scale(0);
        opacity: 0;
    }
    50% {
        transform: scale(1.1);
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

.success-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: #111827;
    margin-bottom: 0.75rem;
}

.success-description {
    font-size: 1rem;
    color: #6b7280;
    margin-bottom: 2rem;
}

/* Verification Layout */
.verification-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

@media (min-width: 900px) {
    .verification-layout {
        grid-template-columns: 280px 1fr;
    }
}

.verification-image {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.verification-image img {
    width: 100%;
    max-width: 280px;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
    background: #f5f5f5;
}

.color-palette {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    justify-content: center;
}

.color-swatch {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1), inset 0 0 0 1px rgba(0, 0, 0, 0.05);
    cursor: pointer;
    transition: transform 0.2s ease;
}

.color-swatch:hover {
    transform: scale(1.15);
}

.verification-fields {
    flex: 1;
}

/* Text utilities */
.text-xs {
    font-size: 0.75rem;
}

.text-gray-500 {
    color: #6b7280;
}

.gap-3 {
    gap: 0.75rem;
}

/* Affiliate Dashboard Styles */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
}

.stat-card {
    background: #f9fafb;
    border-radius: 12px;
    padding: 1.5rem;
    text-align: center;
    border: 1px solid #e5e7eb;
}

.stat-value {
    font-size: 2rem;
    font-weight: 700;
    color: #111827;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 0.875rem;
    color: #6b7280;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.items-table-container {
    overflow-x: auto;
}

.item-row {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    border-bottom: 1px solid #e5e7eb;
    transition: background-color 0.2s;
}

.item-row:hover {
    background-color: #f9fafb;
}

.item-row:last-child {
    border-bottom: none;
}

.item-image {
    width: 80px;
    height: 80px;
    flex-shrink: 0;
    border-radius: 8px;
    overflow: hidden;
    background: #f5f5f5;
}

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

.item-info {
    flex: 1;
    min-width: 0;
}

.item-name {
    font-weight: 600;
    font-size: 1rem;
    color: #111827;
    margin-bottom: 0.5rem;
}

.item-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    font-size: 0.875rem;
    color: #6b7280;
}

.item-link {
    display: inline-block;
    margin-top: 0.5rem;
    color: #2563eb;
    text-decoration: none;
    font-size: 0.875rem;
}

.item-link:hover {
    text-decoration: underline;
}

.item-actions {
    display: flex;
    gap: 0.5rem;
    flex-shrink: 0;
}

.btn-sm {
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
}

.btn-danger {
    background-color: #ef4444;
    color: white;
}

.btn-danger:hover {
    background-color: #dc2626;
}

.search-input {
    padding: 0.5rem 1rem;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    font-size: 0.875rem;
    min-width: 200px;
}

.search-input:focus {
    outline: none;
    border-color: #2563eb;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.pagination-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid #e5e7eb;
}

.page-info {
    font-size: 0.875rem;
    color: #6b7280;
}

/* Category Grid for Affiliate Items */
.category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 1rem;
}

.category-card {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 1.25rem;
    cursor: pointer;
    transition: all 0.2s ease;
    text-align: center;
}

.category-card:hover {
    border-color: #000;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
}

.category-card-icon {
    font-size: 2rem;
    margin-bottom: 0.75rem;
}

.category-card-name {
    font-weight: 600;
    font-size: 0.95rem;
    color: #111827;
    margin-bottom: 0.25rem;
    text-transform: capitalize;
}

.category-card-gender {
    font-size: 0.8rem;
    color: #4b5563;
    margin-bottom: 0.25rem;
}

.category-card-count {
    font-size: 0.75rem;
    color: #9ca3af;
}

.btn-back {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
}

.btn-back .btn-icon {
    font-size: 1rem;
}

@media (max-width: 768px) {
    .item-row {
        flex-wrap: wrap;
    }
    
    .item-actions {
        width: 100%;
        justify-content: flex-end;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
}


