/* Setup Wizard Modal Styles */
.wpspeedtestpro-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 159999;
    display: flex;
    align-items: center;
    justify-content: center;
}

.wpspeedtestpro-modal-content {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    width: 800px;
    max-width: 90%;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
}

.wizard-header {
    padding: 20px;
    border-bottom: 1px solid #e2e4e7;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.wizard-header h2 {
    margin: 0;
    font-size: 1.5em;
    color: #1d2327;
}

.close-wizard {
    background: none;
    border: none;
    font-size: 24px;
    color: #646970;
    cursor: pointer;
}

.wizard-progress {
    padding: 15px 20px;
    border-bottom: 1px solid #e2e4e7;
}

.progress-bar {
    height: 4px;
    background: #e2e4e7;
    border-radius: 2px;
    margin-bottom: 8px;
}

.progress-fill {
    height: 100%;
    background: #2271b1;
    border-radius: 2px;
    transition: width 0.3s ease;
}

.step-indicator {
    font-size: 0.9em;
    color: #646970;
}


/* Wizard Body and Step Styles */
.wizard-body {
    padding: 20px;
    overflow-y: auto;
    flex: 1;
}

.wizard-step {
    animation: fadeIn 0.3s ease;
}

.mission-statement {
    background: #f0f6fc;
    border: 1px solid #2271b1;
    padding: 20px;
    margin-bottom: 30px;
    border-radius: 2px;
}

.mission-statement h3 {
    margin: 0 0 15px 0;
    color: #1d2327;
}

.mission-statement p {
    margin: 0;
    line-height: 1.5;
    color: #50575e;
}

.initial-setup {
    padding: 20px 0;
}

/* Form Styles */
.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #1d2327;
}

.form-group select,
.form-group input[type="text"] {
    width: 100%;
    padding: 8px;
    border: 1px solid #8c8f94;
    border-radius: 4px;
    height: 45px;
}

.privacy-opt {
    background: #f8f9fa;
    padding: 15px;
    border-radius: 4px;
    border: 1px solid #e2e4e7;
}

.privacy-opt label {
    font-weight: normal;
    margin-bottom: 10px;
}

.privacy-note {
    margin: 5px 0 0;
    font-size: 0.9em;
    color: #646970;
}

/* Test Groups Styling */
.test-group {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.test-item {
    background: #f8f9fa;
    padding: 15px;
    border-radius: 4px;
    border: 1px solid #e2e4e7;
}

.test-button {
    background: #2271b1;
    color: #fff;
    border: none;
    padding: 8px 16px;
    border-radius: 4px;
    cursor: pointer;
}

.test-button:hover {
    background: #135e96;
}

.test-button:disabled {
    background: #c3c4c7;
    cursor: not-allowed;
}

.test-progress {
    margin: 10px 0;
    height: 4px;
    background: #e2e4e7;
    border-radius: 2px;
    overflow: hidden;
}

.test-progress .progress-bar {
    height: 100%;
    background: #2271b1;
    width: 0;
    transition: width 0.3s linear;
}

.test-status {
    display: block;
    font-size: 0.9em;
    color: #646970;
    margin-top: 5px;
}

/* Completion Summary */
.completion-summary {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 4px;
    border: 1px solid #e2e4e7;
    margin-top: 20px;
}

.setup-summary {
    margin: 10px 0;
    padding-left: 20px;
}

.setup-summary li {
    margin-bottom: 8px;
    color: #50575e;
}

/* Footer Styles */
.wizard-footer {
    padding: 20px;
    border-top: 1px solid #e2e4e7;
    display: flex;
    justify-content: flex-end;
    gap: 10px;
}

.wizard-footer button {
    padding: 8px 16px;
    border-radius: 4px;
    cursor: pointer;
}

.prev-step {
    background: #f0f0f1;
    border: 1px solid #c3c4c7;
    color: #2c3338;
}

.next-step,
.finish-setup {
    background: #2271b1;
    border: none;
    color: #fff;
}

.next-step:hover,
.finish-setup:hover {
    background: #135e96;
}

/* Helper Classes */
.help-text {
    color: #646970;
    font-size: 0.9em;
    margin-top: 5px;
}

.help-text a {
    color: #2271b1;
    text-decoration: none;
}

.skip-note {
    color: #646970;
    font-style: italic;
    margin-top: 15px;
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}
