/**
 * Wingu Onboarding Wizard - Core Theme Stylesheet
 */

.wingu-custom-wizard-wrapper {
    width: 100%;
    max-width: 1200px;
    margin: 40px auto;
    padding: 0 24px;
    box-sizing: border-box;
    color: #ffffff;
    font-family: system-ui, -apple-system, sans-serif;
}
.wingu-custom-wizard-wrapper * { 
    box-sizing: border-box; 
}
.wingu-wizard-card {
    background-color: #1a1d24;
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 16px;
    padding: 40px;
}
.wingu-wizard-progress {
    display: flex;
    justify-content: space-between;
    position: relative;
    margin-bottom: 48px;
}
.wingu-progress-line {
    position: absolute;
    top: 20px; left: 0; right: 0;
    height: 2px;
    background-color: rgba(255, 255, 255, 0.1);
    z-index: 1;
}
.wingu-step-indicator {
    position: relative;
    z-index: 2;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 20%;
}
.wingu-step-indicator span {
    width: 40px; height: 40px;
    border-radius: 50%;
    background-color: #121418;
    border: 2px solid rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.4);
    transition: all 0.3s ease;
}
.wingu-step-indicator.active span {
    border-color: #1a36ff;
    color: #ffffff;
    background-color: #1a36ff;
    box-shadow: 0 0 15px rgba(26, 54, 255, 0.4);
}
.wingu-step-indicator.complete span {
    border-color: #cc00aa;
    color: #ffffff;
    background-color: #cc00aa;
}
.wingu-step-indicator label {
    font-size: 12px;
    margin-top: 8px;
    color: rgba(255, 255, 255, 0.4);
    font-weight: 600;
}
.wingu-step-indicator.active label,
.wingu-step-indicator.complete label { 
    color: #ffffff; 
}
.wingu-split-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
}
@media (min-width: 992px) {
    .wingu-split-grid { grid-template-columns: 7fr 5fr; }
}
.wingu-wizard-step { 
    display: none; 
}
.wingu-wizard-step.active { 
    display: block; 
}
.wingu-step-title { 
    font-size: 24px; 
    font-weight: 700; 
    margin: 0 0 8px 0; 
    color: #ffffff; 
}
.wingu-step-subtitle { 
    font-size: 14px; 
    color: rgba(255, 255, 255, 0.5); 
    margin: 0 0 32px 0; 
    line-height: 1.5; 
}
.wingu-input-group { 
    margin-bottom: 24px; 
}
.wingu-input-label { 
    display: block; 
    font-size: 13px; 
    font-weight: 600; 
    margin-bottom: 8px; 
    color: rgba(255, 255, 255, 0.8); 
}
.wingu-field-input {
    width: 100%;
    background-color: #121418;
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #ffffff;
    padding: 14px 16px;
    border-radius: 8px;
    font-size: 15px;
    outline: none;
    transition: border-color 0.2s;
}
.wingu-field-input:focus { 
    border-color: #1a36ff; 
    box-shadow: 0 0 8px rgba(26, 54, 255, 0.2); 
}
.wingu-inline-inputs { 
    display: flex; 
    gap: 16px; 
}
.wingu-input-col { 
    flex: 1; 
}

/* Legal & Compliance Architecture Checkboxes */
.wingu-legal-consent { 
    margin-top: 32px; 
    padding-top: 24px; 
    border-top: 1px solid rgba(255,255,255,0.08); 
}
.wingu-checkbox-label { 
    display: flex; 
    align-items: flex-start; 
    cursor: pointer; 
    position: relative; 
}
.wingu-checkbox-label input { 
    position: absolute; 
    opacity: 0; 
    cursor: pointer; 
    height: 0; 
    width: 0; 
}
.wingu-custom-checkbox {
    flex-shrink: 0; 
    width: 22px; 
    height: 22px;
    background-color: #121418; 
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 6px; 
    margin-right: 14px; 
    margin-top: 2px;
    transition: all 0.2s;
    display: flex; 
    align-items: center; 
    justify-content: center;
}
.wingu-checkbox-label input:checked ~ .wingu-custom-checkbox {
    background-color: #1a36ff; 
    border-color: #1a36ff;
    box-shadow: 0 0 8px rgba(26, 54, 255, 0.3);
}
.wingu-checkbox-label input:checked ~ .wingu-custom-checkbox::after {
    content: ''; 
    display: block; 
    width: 5px; 
    height: 10px;
    border: solid white; 
    border-width: 0 2px 2px 0;
    transform: rotate(45deg); 
    margin-bottom: 2px;
}
.wingu-checkbox-text { 
    font-size: 13px; 
    color: rgba(255, 255, 255, 0.6); 
    line-height: 1.6; 
}
.wingu-checkbox-text a { 
    color: #00d2ff; 
    text-decoration: none; 
    font-weight: 600;
}
.wingu-checkbox-text a:hover { 
    text-decoration: underline; 
}

/* Operational Resource Matrix Option Modules */
.wingu-options-stack { 
    display: flex; 
    flex-direction: column; 
    gap: 16px; 
}
.wingu-option-card {
    display: flex;
    align-items: flex-start;
    position: relative;
    background-color: #121418;
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 20px;
    cursor: pointer;
    transition: border-color 0.2s, background-color 0.2s;
}
.wingu-option-card:hover { 
    border-color: rgba(26, 54, 255, 0.3); 
}
.wingu-option-card input { 
    position: absolute; 
    opacity: 0; 
    cursor: pointer; 
}
.wingu-custom-radio {
    position: relative; top: 2px; flex-shrink: 0; width: 18px; height: 18px;
    background-color: #1a1d24; border: 2px solid rgba(255, 255, 255, 0.2);
    margin-right: 16px; border-radius: 50%; transition: all 0.2s;
}
.wingu-option-card input:checked ~ .wingu-custom-radio { 
    border-color: #1a36ff; 
    background-color: #1a36ff; 
}
.wingu-option-card:has(input:checked) { 
    border-color: #1a36ff; 
    background-color: rgba(26, 54, 255, 0.02); 
}
.wingu-option-text { 
    display: flex; 
    flex-direction: column; 
}
.wingu-option-heading { 
    font-weight: 700; 
    font-size: 15px; 
    margin-bottom: 4px; 
    color: #ffffff; 
}
.wingu-option-desc { 
    font-size: 13px; 
    color: rgba(255, 255, 255, 0.5); 
    margin-bottom: 6px; 
}
.wingu-option-price { 
    font-size: 13px; 
    font-weight: 700; 
    color: #00d2ff; 
}
.wingu-alert-banner {
    background-color: rgba(204, 0, 170, 0.05);
    border: 1px solid rgba(204, 0, 170, 0.2);
    padding: 16px;
    border-radius: 8px;
    font-size: 13px;
    margin-bottom: 24px;
    line-height: 1.4;
}
.wingu-review-placeholder {
    padding: 32px;
    border: 1px dashed rgba(255, 255, 255, 0.15);
    border-radius: 8px;
    text-align: center;
    background-color: rgba(255, 255, 255, 0.01);
}
.wingu-review-placeholder h5 { 
    margin: 0 0 6px 0; 
    font-size: 16px; 
    font-weight: 700; 
}
.wingu-review-placeholder p { 
    margin: 0; 
    font-size: 13px; 
    color: rgba(255, 255, 255, 0.5); 
}
.wingu-wizard-controls {
    display: flex;
    justify-content: space-between;
    margin-top: 40px;
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.wingu-btn {
    font-size: 14px;
    font-weight: 700;
    padding: 12px 28px;
    border-radius: 6px;
    border: none;
    cursor: pointer;
    transition: opacity 0.2s, background-color 0.2s;
}
.wingu-btn-primary { 
    background-color: #1a36ff; 
    color: #ffffff; 
}
.wingu-btn-secondary { 
    background-color: transparent; 
    border: 1px solid rgba(255,255,255,0.15); 
    color: rgba(255,255,255,0.7); 
}
.wingu-btn-secondary[disabled] { 
    opacity: 0.3; 
    cursor: not-allowed; 
}
.wingu-btn-gradient { 
    background: linear-gradient(135deg, #1a36ff 0%, #cc00aa 100%); 
    color: #ffffff; 
    border-radius: 30px; 
    padding: 12px 36px; 
}

/* Calculations Ledger Workspace */
.wingu-summary-pane { 
    background-color: #121418; 
    border: 1px solid rgba(255, 255, 255, 0.03); 
    border-radius: 12px; 
    padding: 32px; 
    align-self: start; 
}
.wingu-ledger-title { 
    font-size: 15px; 
    font-weight: 700; 
    text-transform: uppercase; 
    letter-spacing: 1px; 
    margin: 0 0 24px 0; 
    color: #ffffff; 
    border-bottom: 1px solid rgba(255,255,255,0.06); 
    padding-bottom: 12px; 
}
.wingu-ledger-section { 
    margin-bottom: 24px; 
}
.wingu-ledger-section-heading { 
    display: block; 
    font-size: 12px; 
    color: rgba(255, 255, 255, 0.4); 
    font-weight: 600; 
    margin-bottom: 12px; 
}
.wingu-ledger-row { 
    display: flex; 
    justify-content: space-between; 
    font-size: 14px; 
    margin-bottom: 8px; 
    color: rgba(255,255,255,0.85); 
}
.wingu-ledger-total { 
    font-weight: 700; 
    border-top: 1px solid rgba(255, 255, 255, 0.08); 
    padding-top: 12px; 
    margin-top: 12px; 
}
.text-info { 
    color: #00d2ff !important; 
}
.text-purple { 
    color: #cc00aa !important; 
}
.wingu-ledger-footer { 
    font-size: 12px; 
    color: rgba(255, 255, 255, 0.35); 
    line-height: 1.5; 
    background-color: rgba(255,255,255,0.01); 
    padding: 16px; 
    border-radius: 6px; 
    margin-top: 24px; 
}

/* Custom Alert Modal System Styles */
.wingu-modal-overlay {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background-color: rgba(10, 12, 16, 0.85);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 99999;
    opacity: 0;
    transition: opacity 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}
.wingu-modal-overlay.show {
    opacity: 1;
}
.wingu-modal-card {
    background-color: #1a1d24;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 14px;
    padding: 32px;
    max-width: 460px;
    width: calc(100% - 32px);
    box-shadow: 0 24px 48px rgba(0, 0, 0, 0.6);
    transform: scale(0.92);
    transition: transform 0.2s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.wingu-modal-overlay.show .wingu-modal-card {
    transform: scale(1);
}
.wingu-modal-title {
    font-size: 18px;
    font-weight: 700;
    margin: 0 0 12px 0;
    color: #ffffff;
    letter-spacing: -0.5px;
}
.wingu-modal-body {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.65);
    line-height: 1.6;
    margin: 0 0 24px 0;
}
.wingu-modal-actions {
    display: flex;
    justify-content: flex-end;
}
.wingu-modal-actions .wingu-btn {
    padding: 10px 24px;
    font-size: 13px;
}
