/* Wizard Styles */
:root {
    --primary: #007bff;
    --secondary: #6c757d;
    --success: #28a745;
    --danger: #dc3545;
}

body {
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 50%, #7aa8d8 100%);
    min-height: 100vh;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.container {
    background: white;
    border-radius: 15px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    padding: 40px;
}

.wizard-header {
    text-align: center;
    border-bottom: 3px solid #f0f0f0;
    padding-bottom: 30px;
}

.wizard-header h1 {
    color: #333;
    font-weight: 700;
}

.wizard-header .lead {
    color: #666;
}

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

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

.wizard-step h2 {
    color: #333;
    font-weight: 600;
    border-left: 4px solid var(--primary);
    padding-left: 15px;
}

.feature-group {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
    border-left: 4px solid var(--primary);
}

.feature-group h5 {
    color: #333;
    margin-bottom: 15px;
    font-weight: 600;
}

.form-check {
    padding: 10px 0;
}

.form-check-input {
    width: 20px;
    height: 20px;
    margin-top: 3px;
    cursor: pointer;
}

.form-check-label {
    margin-left: 10px;
    cursor: pointer;
    color: #333;
}

.form-control, .form-select {
    border-radius: 8px;
    border: 2px solid #e0e0e0;
    padding: 10px 15px;
    transition: all 0.3s ease;
}

.form-control:focus, .form-select:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
}

.form-label {
    font-weight: 600;
    color: #333;
    margin-bottom: 8px;
}

.wizard-nav {
    display: flex;
    gap: 10px;
    justify-content: flex-end;
    padding-top: 30px;
    border-top: 2px solid #f0f0f0;
}

.btn {
    padding: 10px 25px;
    font-weight: 600;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary) 0%, #0056b3 100%);
    border: none;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 123, 255, 0.4);
}

.btn-secondary {
    background: var(--secondary);
    border: none;
}

.btn-secondary:hover {
    background: #5a6268;
    transform: translateY(-2px);
}

.btn-success {
    background: linear-gradient(135deg, var(--success) 0%, #1e7e34 100%);
    border: none;
}

.btn-success:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(40, 167, 69, 0.4);
}

.progress {
    background-color: #e9ecef;
    border-radius: 10px;
    overflow: hidden;
}

.progress-bar {
    background: linear-gradient(90deg, var(--primary) 0%, #0056b3 100%);
    transition: width 0.4s ease;
}

/* Logo Preview */
#logoPreview {
    max-width: 150px;
}

#logoPreview img {
    max-height: 100px;
    border-radius: 8px;
}

/* Results Modal */
.modal-content {
    border-radius: 15px;
    border: none;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
}

.modal-header {
    border-bottom: 2px solid #f0f0f0;
    background: #f8f9fa;
    border-radius: 15px 15px 0 0;
}

.modal-title {
    color: #333;
    font-weight: 600;
}

.results-section {
    margin-bottom: 30px;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 8px;
    border-left: 4px solid var(--primary);
}

.results-section h4 {
    color: #333;
    font-weight: 600;
    margin-bottom: 15px;
}

.results-item {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px solid #ddd;
}

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

.results-item-label {
    color: #666;
}

.results-item-value {
    color: #333;
    font-weight: 600;
}

.estimation-summary {
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 50%, #7aa8d8 100%);
    color: white;
    padding: 30px;
    border-radius: 10px;
    margin: 20px 0;
}

.estimation-summary h3 {
    margin-bottom: 20px;
    font-size: 24px;
}

.estimation-value {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 10px;
}

.estimation-subtitle {
    font-size: 14px;
    opacity: 0.9;
}

.complexity-badge {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    margin-left: 10px;
}

.complexity-low {
    background: #d4edda;
    color: #155724;
}

.complexity-medium {
    background: #fff3cd;
    color: #856404;
}

.complexity-high {
    background: #ffe5cc;
    color: #cc5200;
}

.complexity-very-high {
    background: #f8d7da;
    color: #721c24;
}

/* Info Tooltips & Help Text */
.info-icon {
    display: inline-block;
    width: 20px;
    height: 20px;
    background: #17a2b8;
    color: white;
    border-radius: 50%;
    text-align: center;
    line-height: 20px;
    font-size: 12px;
    font-weight: bold;
    cursor: help;
    margin-left: 8px;
    position: relative;
}

.info-icon:hover {
    background: #117a8b;
}

.help-text {
    font-size: 13px;
    color: #666;
    margin-top: 5px;
    padding: 8px 12px;
    background: #f0f7ff;
    border-left: 3px solid #17a2b8;
    border-radius: 4px;
    line-height: 1.5;
}

.field-hint {
    font-size: 12px;
    color: #888;
    font-style: italic;
    margin-top: 4px;
}

/* Print Styles */
@media print {
    body {
        background: white;
    }
    
    .container {
        box-shadow: none;
        page-break-inside: avoid;
    }
    
    .modal-footer {
        display: none;
    }
    
    .wizard-nav {
        display: none;
    }
    
    .results-section {
        page-break-inside: avoid;
    }
}

/* Responsive */
@media (max-width: 768px) {
    .container {
        padding: 20px;
    }
    
    .wizard-nav {
        flex-direction: column;
    }
    
    .btn {
        width: 100%;
    }
    
    .results-item {
        flex-direction: column;
    }
    
    .results-item-value {
        margin-top: 5px;
    }
}
