:root {
    --navy: #1a2a6c;
    --navy-light: #2a3f9e;
    --gold: #d4af37;
    --white: #ffffff;
    --gray-100: #f8f9fa;
    --gray-200: #e9ecef;
    --text-dark: #2d3748;
    --text-light: #718096;
    --red: #e53e3e;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Plus Jakarta Sans', sans-serif;
    background-color: var(--gray-100);
    color: var(--text-dark);
    line-height: 1.6;
}

.header {
    background: var(--white);
    padding: 15px 30px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 0;
    z-index: 100;
}

.logo {
    display: flex;
    align-items: center;
}

.container {
    max-width: 800px;
    margin: 40px auto;
    padding: 0 20px;
}

.wizard-container {
    background: var(--white);
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
    overflow: hidden;
}

/* Nav */
.wizard-nav {
    display: flex;
    background: var(--navy);
    color: rgba(255, 255, 255, 0.7);
}

.wizard-step {
    flex: 1;
    padding: 15px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    border-bottom: 4px solid transparent;
    transition: all 0.3s ease;
}

.wizard-step.active {
    color: var(--gold);
    border-bottom-color: var(--gold);
    background: var(--navy-light);
}

.step-num {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    font-weight: bold;
}

.wizard-step.active .step-num {
    background: var(--gold);
    color: var(--navy);
}

.step-label {
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Content */
.wizard-content {
    padding: 30px;
}

.pane {
    display: none;
    animation: fadeIn 0.4s ease forwards;
}

.pane.active {
    display: block;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.section-title {
    margin-bottom: 25px;
    text-align: center;
}

.section-title h2 {
    color: var(--navy);
    font-size: 1.8rem;
    margin-bottom: 5px;
}

.section-title p {
    color: var(--text-light);
    font-size: 0.95rem;
}

/* Form Styles */
.form-card {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: 8px;
    padding: 25px;
    margin-bottom: 20px;
}

.form-card h3 {
    font-size: 1.1rem;
    color: var(--navy);
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--gray-200);
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.form-group label {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-dark);
}

.form-group input,
.form-group select {
    padding: 12px 14px;
    border: 1px solid #cbd5e0;
    border-radius: 6px;
    font-family: inherit;
    font-size: 0.95rem;
    transition: border-color 0.2s;
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--navy);
    box-shadow: 0 0 0 3px rgba(26, 42, 108, 0.1);
}

/* Child Block */
.child-block {
    background: var(--gray-100);
    border-radius: 6px;
    padding: 15px;
    margin-bottom: 15px;
    position: relative;
}

.child-block-header {
    font-weight: 700;
    color: var(--navy-light);
    margin-bottom: 10px;
    display: flex;
    justify-content: space-between;
}

.btn-remove-child {
    background: none;
    border: none;
    color: var(--red);
    font-size: 0.8rem;
    font-weight: bold;
    cursor: pointer;
}

/* Summary Row */
.summary-card {
    background: var(--gray-100);
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 20px;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
    font-size: 0.95rem;
}

.total-row {
    font-weight: 800;
    font-size: 1.1rem;
    color: var(--navy);
    border-top: 1px solid #ccc;
    padding-top: 10px;
    margin-bottom: 0;
}

/* Buttons */
.btn-primary {
    background: var(--navy);
    color: var(--white);
    border: none;
    padding: 14px 28px;
    border-radius: 6px;
    font-size: 1rem;
    font-weight: 600;
    font-family: inherit;
    cursor: pointer;
    transition: all 0.2s;
}

.btn-primary:hover {
    background: var(--navy-light);
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    color: var(--navy);
    border: 2px solid var(--navy);
    padding: 12px 24px;
    border-radius: 6px;
    font-size: 0.95rem;
    font-weight: 600;
    font-family: inherit;
    cursor: pointer;
    transition: all 0.2s;
}

.btn-outline:hover {
    background: var(--navy);
    color: var(--white);
}

@media (max-width: 600px) {
    .form-grid {
        grid-template-columns: 1fr;
    }
}