/**
 * Setup Wizard Styles
 * Modern, clean wizard interface with smooth animations
 */

/* Modal Overlay */
.wizard-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
}

.wizard-modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
}

.wizard-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(4px);
}

/* Wizard Container */
.wizard-container {
    position: relative;
    background: linear-gradient(135deg, #1a1d29 0%, #252a3d 100%);
    border-radius: 16px;
    border: 2px solid rgba(0, 212, 255, 0.3); /* Add visible border */
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5),
                0 0 0 1px rgba(255, 255, 255, 0.1); /* Add inner border glow */
    width: 90%;
    max-width: 900px;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    animation: wizardSlideIn 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes wizardSlideIn {
    from {
        opacity: 0;
        transform: translateY(30px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* Header */
.wizard-header {
    padding: 32px 40px 24px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.wizard-progress-bar {
    height: 4px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 2px;
    overflow: hidden;
    margin-bottom: 16px;
}

.wizard-progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #00d4ff, #0099ff);
    border-radius: 2px;
    transition: width 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.wizard-step-indicator {
    font-size: 13px;
    color: #00d4ff;
    font-weight: 600;
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.wizard-title {
    font-size: 28px;
    color: #fff;
    margin: 0;
    font-weight: 700;
}

/* Content Area */
.wizard-content {
    padding: 32px 40px;
    overflow-y: auto;
    flex: 1;
}

.step-description {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 28px;
    line-height: 1.6;
}

/* Footer */
.wizard-footer {
    padding: 24px 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: space-between;
    gap: 12px;
}

.wizard-btn {
    padding: 12px 28px;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.wizard-btn-primary {
    background: linear-gradient(135deg, #00d4ff, #0099ff);
    color: #fff;
}

.wizard-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 212, 255, 0.4);
}

.wizard-btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.wizard-btn-secondary:hover {
    background: rgba(255, 255, 255, 0.15);
}

.wizard-btn-skip {
    background: transparent;
    color: rgba(255, 255, 255, 0.6);
    margin-left: auto;
    margin-right: auto;
}

.wizard-btn-skip:hover {
    color: rgba(255, 255, 255, 0.9);
}

.wizard-btn-success {
    background: linear-gradient(135deg, #00ff88, #00cc6a) !important;
}

.wizard-btn-sm {
    padding: 8px 16px;
    font-size: 13px;
}

/* ============================================ */
/* STEP 1: WELCOME */
/* ============================================ */
.wizard-welcome {
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
}

.welcome-icon {
    font-size: 64px;
    margin-bottom: 24px;
}

.wizard-welcome h3 {
    font-size: 32px;
    color: #fff;
    margin: 0 0 12px 0;
}

.welcome-subtitle {
    font-size: 18px;
    color: #00d4ff;
    margin-bottom: 32px;
}

.welcome-info-box {
    background: rgba(0, 212, 255, 0.1);
    border: 1px solid rgba(0, 212, 255, 0.3);
    border-radius: 12px;
    padding: 24px;
    margin-bottom: 24px;
    text-align: left;
}

.welcome-info-box h4 {
    color: #00d4ff;
    margin: 0 0 16px 0;
    font-size: 18px;
}

.welcome-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.welcome-list li {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 12px;
    font-size: 15px;
    line-height: 1.6;
}

.welcome-note {
    background: rgba(255, 200, 0, 0.1);
    border: 1px solid rgba(255, 200, 0, 0.3);
    border-radius: 12px;
    padding: 20px;
    display: flex;
    gap: 16px;
    margin-bottom: 28px;
    text-align: left;
}

.note-icon {
    font-size: 24px;
    flex-shrink: 0;
}

.note-content {
    color: rgba(255, 255, 255, 0.9);
    font-size: 14px;
    line-height: 1.6;
}

.welcome-action {
    margin-bottom: 24px;
}

.wizard-steps-preview {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
    margin-top: 16px;
}

.step-preview {
    background: rgba(255, 255, 255, 0.1);
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.9);
}

.welcome-time {
    font-size: 15px;
    color: rgba(255, 255, 255, 0.7);
}

/* ============================================ */
/* STEP 2: API KEYS */
/* ============================================ */
.wizard-api-keys {
    max-width: 650px;
    margin: 0 auto;
}

.api-key-section {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 20px;
}

.api-key-section.optional {
    border-color: rgba(255, 255, 255, 0.05);
}

.api-key-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

.provider-logo {
    width: 32px;
    height: 32px;
    border-radius: 6px;
}

.api-key-header h4 {
    margin: 0 0 4px 0;
    color: #fff;
    font-size: 16px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.api-key-header p {
    margin: 0;
    color: rgba(255, 255, 255, 0.6);
    font-size: 13px;
}

.required-badge {
    background: linear-gradient(135deg, #ff4d4d, #ff1a1a);
    color: #fff;
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.optional-badge {
    background: rgba(255, 255, 255, 0.2);
    color: rgba(255, 255, 255, 0.8);
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.wizard-input {
    width: 100%;
    padding: 12px;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    color: #fff;
    font-size: 14px;
    font-family: 'Courier New', monospace;
    margin-bottom: 8px;
}

.wizard-input:focus {
    outline: none;
    border-color: #00d4ff;
    box-shadow: 0 0 0 3px rgba(0, 212, 255, 0.2);
}

.help-link {
    color: #00d4ff;
    font-size: 13px;
    text-decoration: none;
    display: inline-block;
}

.help-link:hover {
    text-decoration: underline;
}

/* SSH Section */
.ssh-section {
    background: rgba(0, 212, 255, 0.05);
    border-color: rgba(0, 212, 255, 0.2);
}

.ssh-options {
    display: flex;
    gap: 12px;
    margin-bottom: 20px;
}

.ssh-option-btn {
    flex: 1;
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    gap: 12px;
    align-items: flex-start;
    text-align: left;
}

.ssh-option-btn:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.2);
}

.ssh-option-btn.active {
    background: rgba(0, 212, 255, 0.15);
    border-color: #00d4ff;
}

.option-icon {
    font-size: 24px;
}

.option-content {
    flex: 1;
}

.option-content strong {
    color: #fff;
    display: block;
    margin-bottom: 4px;
    font-size: 15px;
}

.option-content span {
    color: rgba(255, 255, 255, 0.6);
    font-size: 13px;
}

.ssh-content {
    display: none;
}

.ssh-content.active {
    display: block;
}

.info-box {
    background: rgba(0, 212, 255, 0.1);
    border: 1px solid rgba(0, 212, 255, 0.3);
    border-radius: 8px;
    padding: 16px;
    margin-bottom: 16px;
}

.info-box p {
    margin: 0 0 12px 0;
    color: rgba(255, 255, 255, 0.9);
    font-size: 14px;
}

.success-message {
    background: rgba(0, 255, 136, 0.1);
    border: 1px solid rgba(0, 255, 136, 0.3);
    color: #00ff88;
    padding: 12px;
    border-radius: 8px;
    margin-bottom: 12px;
    text-align: center;
    font-weight: 600;
}

.ssh-key-display {
    margin-top: 16px;
}

.ssh-key-display label {
    color: rgba(255, 255, 255, 0.8);
    font-size: 13px;
    display: block;
    margin-bottom: 8px;
}

.wizard-textarea {
    width: 100%;
    min-height: 100px;
    padding: 12px;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    color: #fff;
    font-size: 12px;
    font-family: 'Courier New', monospace;
    resize: vertical;
    margin-bottom: 8px;
}

.help-text {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.6);
}

.wizard-note {
    background: rgba(255, 255, 255, 0.05);
    border-left: 3px solid #00d4ff;
    padding: 12px 16px;
    border-radius: 4px;
    color: rgba(255, 255, 255, 0.8);
    font-size: 13px;
    margin-top: 20px;
}

/* Existing Keys Display */
.success-message-large {
    background: rgba(0, 255, 136, 0.1);
    border: 1px solid rgba(0, 255, 136, 0.3);
    color: #00ff88;
    padding: 24px;
    border-radius: 12px;
    margin-bottom: 24px;
    text-align: center;
    font-size: 20px;
    font-weight: 700;
}

.warning-message-large {
    background: rgba(255, 200, 0, 0.1);
    border: 1px solid rgba(255, 200, 0, 0.3);
    color: #ffc800;
    padding: 24px;
    border-radius: 12px;
    margin-bottom: 24px;
    text-align: center;
    font-size: 20px;
    font-weight: 700;
}

.configured-keys-list {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 20px;
}

.key-status-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 8px;
    margin-bottom: 8px;
}

.key-status-item:last-child {
    margin-bottom: 0;
}

.key-status-item.missing {
    opacity: 0.6;
}

.key-status-item.missing .key-icon {
    color: #ff6b6b;
}

.key-status-item.missing .key-value {
    color: rgba(255, 107, 107, 0.8);
}

.key-status-item.optional {
    opacity: 0.5;
}

.key-status-item.optional .key-icon {
    color: rgba(255, 255, 255, 0.4);
}

.key-icon {
    color: #00ff88;
    font-size: 18px;
}

.key-name {
    color: #fff;
    font-weight: 600;
    flex: 1;
}

.key-value {
    color: rgba(255, 255, 255, 0.6);
    font-family: 'Courier New', monospace;
    font-size: 13px;
}

/* ============================================ */
/* STEP 3: MODEL TYPE */
/* ============================================ */
.wizard-model-type {
    max-width: 800px;
    margin: 0 auto;
}

.model-type-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
}

.model-type-card {
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 24px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
}

.model-type-card:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-4px);
}

.model-type-card.selected {
    background: rgba(0, 212, 255, 0.15);
    border-color: #00d4ff;
    box-shadow: 0 0 20px rgba(0, 212, 255, 0.3);
}

.card-icon {
    font-size: 48px;
    margin-bottom: 16px;
}

.model-type-card h3 {
    color: #fff;
    font-size: 18px;
    margin: 0 0 12px 0;
}

.model-type-card p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
    margin: 0 0 16px 0;
    line-height: 1.5;
}

.card-examples {
    background: rgba(0, 0, 0, 0.3);
    padding: 10px;
    border-radius: 6px;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.6);
}

/* ============================================ */
/* STEP 4: MODEL SELECTION */
/* ============================================ */
.wizard-model-selection {
    max-width: 800px;
    margin: 0 auto;
}

.model-size-filter {
    margin-bottom: 24px;
}

.model-size-filter label {
    display: block;
    color: rgba(255, 255, 255, 0.8);
    font-size: 14px;
    margin-bottom: 12px;
    font-weight: 600;
}

.size-buttons {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.size-btn {
    padding: 8px 16px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 6px;
    color: rgba(255, 255, 255, 0.8);
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 13px;
    font-weight: 600;
}

.size-btn:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.3);
}

.size-btn.active {
    background: rgba(0, 212, 255, 0.2);
    border-color: #00d4ff;
    color: #00d4ff;
}

.model-list-container {
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 16px;
    max-height: 400px;
    overflow-y: auto;
    margin-bottom: 20px;
}

.model-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 12px;
}

.model-card {
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.model-card:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.model-card.selected {
    background: rgba(0, 212, 255, 0.15);
    border-color: #00d4ff;
    box-shadow: 0 0 15px rgba(0, 212, 255, 0.3);
}

.model-card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 12px;
}

.model-card-header h4 {
    margin: 0;
    font-size: 15px;
    color: #fff;
    flex: 1;
    word-break: break-word;
}

.custom-badge {
    background: linear-gradient(135deg, #ff9800, #ff5722);
    color: #fff;
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 10px;
    font-weight: 600;
    text-transform: uppercase;
    margin-left: 8px;
    flex-shrink: 0;
}

.model-card-body {
    font-size: 13px;
}

.model-info {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-bottom: 8px;
}

.model-size {
    color: #00d4ff;
    font-weight: 600;
}

.model-type-badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.1);
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 11px;
    color: rgba(255, 255, 255, 0.7);
    text-transform: capitalize;
}

.model-memory {
    color: rgba(255, 255, 255, 0.6);
    font-size: 12px;
    margin-top: 4px;
}

.loading-message,
.info-message,
.error-message {
    text-align: center;
    padding: 40px 20px;
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
    line-height: 1.6;
}

.error-message {
    color: #ff6b6b;
}

.custom-model-section {
    text-align: center;
    margin-top: 16px;
}

.custom-model-sources {
    margin-bottom: 16px;
}

.custom-model-sources h4 {
    color: #fff;
    margin: 0 0 12px 0;
    font-size: 16px;
}

.source-buttons {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    justify-content: center;
}

.source-btn {
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 12px 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    min-width: 100px;
}

.source-btn:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.2);
}

.source-btn.active {
    background: rgba(0, 212, 255, 0.15);
    border-color: #00d4ff;
}

.source-icon {
    font-size: 24px;
}

.source-btn span:last-child {
    color: rgba(255, 255, 255, 0.9);
    font-size: 13px;
    font-weight: 600;
}

/* ============================================ */
/* STEP 5: GPU SELECTION */
/* ============================================ */
.wizard-gpu-selection {
    max-width: 800px;
    margin: 0 auto;
}

.gpu-recommendations {
    margin-bottom: 20px;
}

.gpu-card {
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-bottom: 12px;
}

.gpu-card:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.2);
}

.gpu-card.selected {
    background: rgba(0, 212, 255, 0.15);
    border-color: #00d4ff;
    box-shadow: 0 0 15px rgba(0, 212, 255, 0.3);
}

.strategy-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.strategy-item {
    background: rgba(0, 0, 0, 0.2);
    padding: 12px;
    border-radius: 8px;
    border-left: 3px solid #00d4ff;
}

.strategy-item strong {
    color: #00d4ff;
    display: block;
    margin-bottom: 4px;
}

.strategy-item p {
    margin: 0;
    color: rgba(255, 255, 255, 0.7);
    font-size: 13px;
    line-height: 1.5;
}

/* ============================================ */
/* STEP 6: DATA STRATEGY */
/* ============================================ */
.wizard-data-strategy {
    max-width: 800px;
    margin: 0 auto;
}

/* Data strategy grid - 2 columns on desktop, 1 on mobile */
.data-strategy-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    margin-bottom: 20px;
}

@media (max-width: 768px) {
    .data-strategy-grid {
        grid-template-columns: 1fr;
    }
}

.data-strategy-options {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    margin-bottom: 20px;
}

/* Strategy cards in wizard */
.wizard-data-strategy .strategy-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
    min-height: 200px;
    box-sizing: border-box;
}

.wizard-data-strategy .strategy-card input[type="radio"] {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.wizard-data-strategy .strategy-card:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.wizard-data-strategy .strategy-card.selected {
    background: rgba(0, 212, 255, 0.15);
    border-color: #00d4ff;
    box-shadow: 0 0 15px rgba(0, 212, 255, 0.3);
}

.wizard-data-strategy .strategy-icon {
    font-size: 36px;
    margin-bottom: 12px;
    display: block;
}

.wizard-data-strategy .strategy-title {
    color: #fff;
    font-weight: 600;
    font-size: 16px;
    margin-bottom: 8px;
}

.wizard-data-strategy .strategy-badge {
    background: linear-gradient(135deg, #00d4ff, #00ff88);
    color: #000;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 700;
    margin-bottom: 8px;
    display: inline-block;
}

.wizard-data-strategy .strategy-benefits {
    list-style: none;
    padding: 0;
    margin: 8px 0;
    text-align: left;
    width: 100%;
}

.wizard-data-strategy .strategy-benefits li {
    color: rgba(255, 255, 255, 0.8);
    font-size: 13px;
    margin-bottom: 4px;
    padding-left: 16px;
    position: relative;
}

.wizard-data-strategy .strategy-benefits li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #00ff88;
}

.wizard-data-strategy .strategy-ideal {
    color: rgba(255, 255, 255, 0.6);
    font-size: 12px;
    margin-top: auto;
    padding-top: 8px;
}

/* Generic strategy card fallback */
.strategy-card {
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
}

.strategy-card:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.strategy-card.selected {
    background: rgba(0, 212, 255, 0.15);
    border-color: #00d4ff;
    box-shadow: 0 0 15px rgba(0, 212, 255, 0.3);
}

.strategy-icon {
    font-size: 48px;
    margin-bottom: 12px;
}

.strategy-card h4 {
    color: #fff;
    margin: 0 0 8px 0;
    font-size: 16px;
}

.strategy-card p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 13px;
    margin: 0 0 12px 0;
    line-height: 1.5;
}

.strategy-features {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.feature {
    color: #00ff88;
    font-size: 12px;
}

.flow-step {
    background: rgba(0, 212, 255, 0.1);
    padding: 8px 16px;
    border-radius: 8px;
    color: #00d4ff;
    font-weight: 600;
}

/* ============================================ */
/* STEP 7: REVIEW */
/* ============================================ */
.wizard-review {
    max-width: 700px;
    margin: 0 auto;
}

.review-summary {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 24px;
}

.review-item {
    display: flex;
    justify-content: space-between;
    padding: 12px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.review-item:last-child {
    border-bottom: none;
}

.review-label {
    color: rgba(255, 255, 255, 0.6);
    font-weight: 600;
}

.review-value {
    color: #00d4ff;
    font-weight: 600;
}

.deploy-mode-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 16px;
}

.deploy-mode-card {
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
}

.deploy-mode-card:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.deploy-mode-card.active {
    background: rgba(0, 212, 255, 0.15);
    border-color: #00d4ff;
    box-shadow: 0 0 15px rgba(0, 212, 255, 0.3);
}

.mode-icon {
    font-size: 48px;
    margin-bottom: 12px;
}

.deploy-mode-card h4 {
    color: #fff;
    margin: 0 0 8px 0;
    font-size: 16px;
}

.deploy-mode-card p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 13px;
    margin: 0 0 12px 0;
    line-height: 1.5;
}

.mode-time {
    color: rgba(255, 255, 255, 0.5);
    font-size: 12px;
}

/* Responsive */
@media (max-width: 768px) {
    .wizard-container {
        width: 95%;
        max-height: 95vh;
    }
    
    .wizard-header,
    .wizard-content,
    .wizard-footer {
        padding-left: 24px;
        padding-right: 24px;
    }
    
    .wizard-title {
        font-size: 24px;
    }
    
    .model-type-grid {
        grid-template-columns: 1fr;
    }
    
    .ssh-options {
        flex-direction: column;
    }
}

/* v1041: Spinner animation for loading states */
@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* v1041: Slide up animation for toasts */
@keyframes slideUp {
    from {
        transform: translate(-50%, 100%);
        opacity: 0;
    }
    to {
        transform: translate(-50%, 0);
        opacity: 1;
    }
}

/* v1041: Cloud GPU selection card */
.wizard-gpu-card:hover {
    background: rgba(0, 212, 255, 0.1) !important;
    border-color: rgba(0, 212, 255, 0.5) !important;
}

.wizard-gpu-card.selected {
    background: rgba(0, 212, 255, 0.15) !important;
    border-color: #00d4ff !important;
}

/* v1382: Wizard Path Options (New vs Quick Deploy) */
.wizard-path-options {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin: 24px 0;
}

.path-option {
    background: rgba(255, 255, 255, 0.03);
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 24px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
}

.path-option:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.path-option.path-new {
    border-color: rgba(0, 212, 255, 0.3);
}

.path-option.path-new:hover {
    background: rgba(0, 212, 255, 0.1);
    border-color: rgba(0, 212, 255, 0.6);
}

.path-option.path-quick {
    border-color: rgba(255, 170, 0, 0.3);
}

.path-option.path-quick:hover {
    background: rgba(255, 170, 0, 0.1);
    border-color: rgba(255, 170, 0, 0.6);
}

.path-icon {
    font-size: 48px;
    margin-bottom: 16px;
}

.path-option h4 {
    color: #ffffff;
    font-size: 18px;
    font-weight: 600;
    margin: 0 0 12px 0;
}

.path-option p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
    line-height: 1.5;
    margin: 0 0 16px 0;
}

.path-time {
    color: rgba(255, 255, 255, 0.5);
    font-size: 13px;
}

@media (max-width: 600px) {
    .wizard-path-options {
        grid-template-columns: 1fr;
    }
}

