/* Installation Page Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.install-container {
    background: white;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
    padding: 50px;
    width: 100%;
    max-width: 650px;
}

.install-header {
    text-align: center;
    margin-bottom: 40px;
}

.install-logo {
    font-size: 3rem;
    color: #667eea;
    margin-bottom: 15px;
}

.install-title {
    font-size: 1.8rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 10px;
}

.install-subtitle {
    font-size: 1rem;
    color: #6c757d;
}

/* Steps Progress */
.steps-container {
    display: flex;
    justify-content: center;
    margin-bottom: 40px;
    gap: 10px;
}

.step {
    display: flex;
    align-items: center;
    gap: 8px;
}

.step-number {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 0.9rem;
    background-color: #e9ecef;
    color: #6c757d;
    transition: all 0.3s ease;
}

.step.active .step-number {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.step.completed .step-number {
    background-color: #28a745;
    color: white;
}

.step-text {
    font-size: 0.85rem;
    color: #6c757d;
    display: none;
}

.step-line {
    width: 40px;
    height: 3px;
    background-color: #e9ecef;
    border-radius: 2px;
}

.step-line.completed {
    background-color: #28a745;
}

@media (min-width: 768px) {
    .step-text {
        display: block;
    }
    .step.active .step-text {
        color: #667eea;
        font-weight: 600;
    }
    .step.completed .step-text {
        color: #28a745;
    }
}

/* Section Styling */
.section-title {
    font-size: 1.3rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #e9ecef;
}

/* Requirements List */
.requirements-list {
    list-style: none;
    margin-bottom: 30px;
}

.requirements-list li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 15px;
    border-radius: 8px;
    margin-bottom: 8px;
    background-color: #f8f9fa;
}

.requirements-list li:last-child {
    margin-bottom: 0;
}

.requirement-name {
    font-weight: 500;
    color: #495057;
}

.requirement-status {
    font-weight: 600;
    font-size: 0.9rem;
}

.status-passed {
    color: #28a745;
}

.status-failed {
    color: #dc3545;
}

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

.form-label {
    font-weight: 500;
    color: #495057;
    margin-bottom: 8px;
    font-size: 0.95rem;
    display: block;
}

.form-control {
    border: 2px solid #e9ecef;
    border-radius: 10px;
    padding: 14px 18px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background-color: #f8f9fa;
    width: 100%;
    outline: none;
}

.form-control:focus {
    border-color: #667eea;
    box-shadow: 0 0 0 0.2rem rgba(102, 126, 234, 0.25);
    background-color: white;
}

.form-control::placeholder {
    color: #adb5bd;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

@media (max-width: 576px) {
    .form-row {
        grid-template-columns: 1fr;
    }
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 14px 30px;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    text-align: center;
    border: none;
}

.btn-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.btn-primary:hover {
    background: linear-gradient(135deg, #5a6fd6 0%, #6a4190 100%);
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(102, 126, 234, 0.4);
}

.btn-secondary {
    background-color: #6c757d;
    color: white;
}

.btn-secondary:hover {
    background-color: #5a6268;
}

.btn-success {
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
    color: white;
}

.btn-success:hover {
    background: linear-gradient(135deg, #218838 0%, #1baa80 100%);
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(40, 167, 69, 0.4);
}

.btn-block {
    width: 100%;
}

.btn-group {
    display: flex;
    gap: 15px;
    margin-top: 30px;
}

.btn-group .btn {
    flex: 1;
}

/* Alerts */
.alert {
    border-radius: 10px;
    padding: 15px 20px;
    margin-bottom: 25px;
    border: 1px solid transparent;
}

.alert-danger {
    color: #721c24;
    background-color: #f8d7da;
    border-color: #f5c6cb;
}

.alert-success {
    color: #155724;
    background-color: #d4edda;
    border-color: #c3e6cb;
}

.alert-info {
    color: #0c5460;
    background-color: #d1ecf1;
    border-color: #bee5eb;
}

/* Complete Page */
.complete-icon {
    text-align: center;
    margin-bottom: 30px;
}

.complete-icon svg {
    width: 80px;
    height: 80px;
    color: #28a745;
}

.complete-message {
    text-align: center;
    margin-bottom: 30px;
}

.complete-message h2 {
    font-size: 1.8rem;
    color: #28a745;
    margin-bottom: 10px;
}

.complete-message p {
    color: #6c757d;
    font-size: 1.1rem;
}

/* Required asterisk */
.text-danger {
    color: #dc3545;
}

/* Invalid feedback */
.invalid-feedback {
    display: block;
    color: #dc3545;
    font-size: 0.875rem;
    margin-top: 5px;
}

.form-control.is-invalid {
    border-color: #dc3545;
}

/* Subsection */
.form-section {
    margin-bottom: 35px;
}

.form-section-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: #667eea;
    margin-bottom: 20px;
    padding-bottom: 8px;
    border-bottom: 1px solid #e9ecef;
}

/* Small text */
.text-muted {
    font-size: 0.85rem;
    color: #6c757d;
}

/* Responsive */
@media (max-width: 576px) {
    .install-container {
        padding: 30px 25px;
    }

    .install-title {
        font-size: 1.5rem;
    }

    .btn-group {
        flex-direction: column;
    }

    .btn-group .btn {
        width: 100%;
    }
}

/* Loading spinner */
.spinner {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255,255,255,.3);
    border-radius: 50%;
    border-top-color: #fff;
    animation: spin 1s ease-in-out infinite;
    margin-right: 8px;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.btn-loading {
    pointer-events: none;
    opacity: 0.7;
}
