:root {
    --primary: #00205B;
    --primary-hover: #001540;
    --secondary: #00A651;
    --accent: #44bec7;
    --white: #ffffff;
    --light-bg: #f8fafc;
    --border: #e2e8f0;
    --text-main: #1e293b;
    --text-muted: #64748b;
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 12px;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
    color: var(--text-main);
    background-color: var(--light-bg);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Header */
.simple-header {
    background: var(--white);
    padding: 1rem 2rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 100;
}

.logo-img {
    height: 40px;
    width: auto;
}

.back-link {
    text-decoration: none;
    color: var(--text-muted);
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: color 0.2s;
}

.back-link:hover {
    color: var(--primary);
}

/* Main Container */
.wizard-container {
    max-width: 800px;
    margin: 2rem auto;
    padding: 0 1rem;
    width: 100%;
    box-sizing: border-box;
    flex: 1;
}

.wizard-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    padding: 2rem;
    overflow: hidden;
}

/* Progress Bar */
.progress-area {
    margin-bottom: 3rem;
    padding: 0 1rem;
}

.progress-steps {
    display: flex;
    justify-content: space-between;
    position: relative;
    max-width: 600px;
    margin: 0 auto;
}

.progress-steps::before {
    content: '';
    position: absolute;
    top: 15px;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--border);
    z-index: 0;
}

.step-indicator {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    cursor: default;
}

.step-num {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--white);
    border: 2px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    color: var(--text-muted);
    transition: all 0.3s ease;
}

.step-label {
    font-size: 0.875rem;
    color: var(--text-muted);
    font-weight: 500;
    transition: color 0.3s ease;
}

.step-indicator.active .step-num {
    border-color: var(--primary);
    color: var(--primary);
    background: #f0f4ff;
    box-shadow: 0 0 0 4px rgba(0, 32, 91, 0.1);
}

.step-indicator.active .step-label {
    color: var(--primary);
    font-weight: 600;
}

.step-indicator.completed .step-num {
    background: var(--primary);
    border-color: var(--primary);
    color: var(--white);
}

.step-indicator.completed .step-label {
    color: var(--primary);
}

/* Step Content */
.step-content {
    display: none;
    animation: fadeIn 0.4s ease-out;
}

.step-content.active {
    display: block;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

h2.step-title {
    color: var(--primary);
    margin: 0 0 1.5rem 0;
    font-size: 1.5rem;
}

/* Forms */
.form-group {
    margin-bottom: 1.5rem;
}

.form-label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--text-main);
}

.form-sublabel {
    color: var(--text-muted);
    font-size: 0.875rem;
    font-weight: 400;
}

.form-control {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    font-size: 1rem;
    transition: border-color 0.2s;
    box-sizing: border-box;
}

.form-control:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(0, 32, 91, 0.1);
}

/* Radio Cards */
.radio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 1rem;
}

.radio-card {
    cursor: pointer;
    position: relative;
    display: flex;
    flex-direction: column;
}

.radio-card input {
    position: absolute;
    opacity: 0;
}

.card-inner {
    border: 2px solid var(--border);
    border-radius: var(--radius-md);
    padding: 1rem;
    text-align: center;
    transition: all 0.2s;
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.radio-card input:checked+.card-inner {
    border-color: var(--primary);
    background-color: #f8faff;
    color: var(--primary);
    font-weight: 600;
}

/* Color Notice */
.color-notice {
    background: #fff7ed;
    border: 2px solid #fb923c;
    border-radius: var(--radius-md);
    padding: 0.875rem 1rem;
    margin-bottom: 1.25rem;
    font-size: 0.875rem;
    line-height: 1.5;
    color: #9a3412;
}

.color-notice strong {
    color: #c2410c;
    font-weight: 600;
}

/* Color Grid */
.color-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
    gap: 1rem;
}

.color-option {
    cursor: pointer;
    position: relative;
}

.color-option input {
    position: absolute;
    opacity: 0;
}

.color-swatch-box {
    border: 2px solid var(--border);
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: all 0.2s;
}

.color-img {
    width: 100%;
    height: 100px;
    object-fit: cover;
    display: block;
}

.color-name {
    display: block;
    text-align: center;
    font-size: 0.875rem;
    margin-top: 0.5rem;
    color: var(--text-muted);
}

.color-option input:checked+.color-swatch-box {
    border-color: var(--secondary);
    box-shadow: 0 0 0 4px rgba(0, 166, 81, 0.2);
}

.color-option input:checked~.color-name {
    color: var(--secondary);
    font-weight: 600;
}

.color-option.disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.color-option .stock-note {
    display: block;
    text-align: center;
    font-size: 0.75rem;
    margin-top: 0.25rem;
    color: #ef4444;
}

.color-option .stock-note.available {
    color: #16a34a;
}

/* Grid Layouts */
.grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

/* Footer Actions */
.wizard-footer {
    border-top: 1px solid var(--border);
    padding-top: 1.5rem;
    margin-top: 2rem;
    display: flex;
    justify-content: space-between;
}

.btn {
    padding: 0.75rem 2rem;
    border-radius: var(--radius-md);
    font-weight: 600;
    cursor: pointer;
    font-size: 1rem;
    border: none;
    transition: all 0.2s;
}

.btn-secondary {
    background: var(--light-bg);
    color: var(--text-muted);
    border: 1px solid var(--border);
}

.btn-secondary:hover {
    background: #e2e8f0;
    color: var(--text-main);
}

.btn-primary {
    background: var(--primary);
    color: var(--white);
    margin-left: auto;
    /* Push to right */
}

.btn-primary:hover {
    background: var(--primary-hover);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 32, 91, 0.25);
}

.btn-whatsapp {
    background: #25D366;
    color: white;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-whatsapp:hover {
    background: #128C7E;
}

/* Helpers */
.hidden {
    display: none !important;
}

.mt-4 {
    margin-top: 1rem;
}

.text-danger {
    color: #e11d48;
    font-size: 0.875rem;
    margin-top: 0.25rem;
}

/* Responsive */
@media (max-width: 600px) {
    .simple-header {
        padding: 1rem;
    }

    .wizard-card {
        padding: 1.5rem 1rem;
        border-radius: 0;
        box-shadow: none;
    }

    .wizard-container {
        margin: 0;
        padding: 0;
    }

    .step-label {
        display: none;
    }

    /* Hide labels on mobile to save space */
    .grid-2 {
        grid-template-columns: 1fr;
    }
}
