/* Multi-Step Wizard Styling */

.wizard-header {
    margin-bottom: 2rem;
}

.wizard-progress-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    margin-bottom: 2.5rem;
}

.wizard-progress-bar::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--color-border);
    z-index: 1;
    transform: translateY(-50%);
}

.wizard-progress-line {
    position: absolute;
    top: 50%;
    left: 0;
    height: 3px;
    background: var(--color-primary);
    z-index: 2;
    transform: translateY(-50%);
    transition: width 0.3s ease;
}

.step-node {
    position: relative;
    z-index: 3;
    background: var(--color-surface);
    border: 3px solid var(--color-border);
    width: 42px;
    height: 42px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.9375rem;
    color: var(--color-text-muted);
    transition: all 0.25s ease;
    cursor: pointer;
}

.step-node.active {
    border-color: var(--color-primary);
    background: var(--color-primary);
    color: #ffffff;
    box-shadow: 0 0 0 4px rgba(4, 27, 58, 0.15);
}

.step-node.completed {
    border-color: var(--color-primary);
    background: var(--color-primary);
    color: #ffffff;
}

.step-node-label {
    position: absolute;
    top: 48px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 0.75rem;
    font-weight: 600;
    white-space: nowrap;
    color: var(--color-text-muted);
}

.step-node.active .step-node-label,
.step-node.completed .step-node-label {
    color: var(--color-primary);
}

/* Wizard Step Content */
.wizard-step {
    display: none;
    animation: fadeIn 0.3s ease;
}

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

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

.step-title {
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--color-primary);
    margin-bottom: 0.5rem;
    border-bottom: 2px solid var(--color-gold);
    padding-bottom: 0.5rem;
    display: inline-block;
}

.step-subtitle {
    font-size: 0.875rem;
    color: var(--color-text-muted);
    margin-bottom: 1.75rem;
}

/* File Dropzone */
.dropzone {
    border: 2px dashed var(--color-border);
    border-radius: var(--radius-md);
    padding: 2.5rem 1.5rem;
    text-align: center;
    background: var(--color-bg);
    cursor: pointer;
    transition: all 0.2s ease;
    margin-bottom: 1.5rem;
}

.dropzone:hover, .dropzone.dragover {
    border-color: var(--color-primary);
    background: #f0f4f9;
}

.dropzone-icon {
    font-size: 2.5rem;
    color: var(--color-primary);
    margin-bottom: 0.75rem;
}

.dropzone-text {
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--color-text-main);
}

.dropzone-subtext {
    font-size: 0.75rem;
    color: var(--color-text-muted);
    margin-top: 0.25rem;
}

/* Document Item Card */
.doc-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-top: 1rem;
}

.doc-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.85rem 1.25rem;
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-sm);
}

.doc-info {
    display: flex;
    align-items: center;
    gap: 0.85rem;
}

.doc-icon {
    width: 36px;
    height: 36px;
    background: #e0f2fe;
    color: var(--color-info);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.85rem;
}

.doc-name {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--color-text-main);
}

.doc-meta {
    font-size: 0.75rem;
    color: var(--color-text-muted);
}

.doc-delete-btn {
    background: none;
    border: none;
    color: var(--color-secondary);
    cursor: pointer;
    font-weight: 600;
    font-size: 0.85rem;
    padding: 0.25rem 0.5rem;
    border-radius: var(--radius-sm);
}

.doc-delete-btn:hover {
    background: var(--color-error-bg);
}

/* Section Summary Recap */
.recap-group {
    background: var(--color-bg);
    border-radius: var(--radius-md);
    padding: 1.25rem;
    margin-bottom: 1.25rem;
    border: 1px solid var(--color-border);
}

.recap-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.85rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid var(--color-border);
}

.recap-title {
    font-size: 1rem;
    font-weight: 700;
    color: var(--color-primary);
}

.recap-edit-btn {
    background: none;
    border: none;
    color: var(--color-info);
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
}

.recap-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 0.85rem;
    font-size: 0.875rem;
}

.recap-label {
    font-weight: 600;
    color: var(--color-text-muted);
}

.recap-value {
    color: var(--color-text-main);
    font-weight: 500;
}

/* Digital Signature Box */
.signature-box {
    border: 2px solid var(--color-primary);
    border-radius: var(--radius-md);
    padding: 1.5rem;
    background: #f0fdf4;
    margin-top: 1.5rem;
}

.signature-declaration {
    display: flex;
    gap: 0.85rem;
    align-items: flex-start;
    margin-bottom: 1.25rem;
}

.signature-declaration input[type="checkbox"] {
    width: 20px;
    height: 20px;
    margin-top: 2px;
    accent-color: var(--color-primary);
    cursor: pointer;
}

.signature-declaration label {
    font-size: 0.9375rem;
    font-weight: 500;
    color: var(--color-text-main);
    cursor: pointer;
}

/* Wizard Navigation Controls */
.wizard-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 2.5rem;
    padding-top: 1.25rem;
    border-top: 1px solid var(--color-border);
}
