/* Container & Layout */
.wire-wrapper {
    max-width: 680px;
    margin: 30px auto;
    padding: 30px;
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    box-sizing: border-box;
}

.wire-wrapper * {
    box-sizing: border-box;
}

/* Progress Bar */
.wire-progress-bar {
    width: 100%;
    height: 8px;
    background-color: #e9ecef;
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 25px;
}

#wire-progress {
    height: 100%;
    background: linear-gradient(90deg, #10b981 0%, #059669 100%);
    width: 50%;
    transition: width 0.4s ease;
}

/* Form Steps & UI */
.wire-step h3 {
    margin-top: 0;
    margin-bottom: 20px;
    color: #1f2937;
    font-size: 1.35rem;
    font-weight: 700;
}

.wire-step label {
    display: block;
    margin-top: 15px;
    margin-bottom: 8px;
    font-weight: 600;
    color: #374151;
    font-size: 0.95rem;
}

.wire-step select,
.wire-step input[type="email"] {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    font-size: 1rem;
    color: #111827;
    background-color: #f9fafb;
    margin-bottom: 15px;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.wire-step select:focus,
.wire-step input[type="email"]:focus {
    outline: none;
    border-color: #10b981;
    box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.15);
}

/* Button Group */
.wire-btn-group {
    display: flex;
    justify-content: space-between;
    margin-top: 25px;
    gap: 10px;
}

button.wire-next-btn,
button.wire-prev-btn,
button.wire-submit-btn {
    padding: 12px 24px;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    transition: background-color 0.2s ease, transform 0.1s ease;
}

button.wire-next-btn,
button.wire-submit-btn {
    background-color: #059669;
    color: #ffffff;
    margin-left: auto;
}

button.wire-next-btn:hover,
button.wire-submit-btn:hover {
    background-color: #047857;
}

button.wire-prev-btn {
    background-color: #f3f4f6;
    color: #4b5563;
}

button.wire-prev-btn:hover {
    background-color: #e5e7eb;
}

/* Results Display */
#wire-results {
    animation: fadeIn 0.4s ease;
}

.wire-score-card {
    background: #ecfdf5;
    border: 1px solid #a7f3d0;
    border-radius: 8px;
    padding: 20px;
    text-align: center;
    margin-bottom: 25px;
}

.wire-score-card h2 {
    margin: 0 0 10px 0;
    color: #065f46;
    font-size: 1.4rem;
}

.wire-score-number {
    font-size: 2.2rem;
    font-weight: 800;
    color: #047857;
}

/* Allocation Bars */
.wire-allocation-list {
    margin-top: 20px;
}

.wire-alloc-item {
    margin-bottom: 15px;
}

.wire-alloc-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 6px;
    font-weight: 600;
    color: #374151;
}

.wire-bar-bg {
    width: 100%;
    height: 12px;
    background-color: #f3f4f6;
    border-radius: 6px;
    overflow: hidden;
}

.wire-bar-fill {
    height: 100%;
    background-color: #10b981;
    width: 0%;
    transition: width 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

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