/* Install Guide Modal Styles */

/* Ensure modal appears above navbar */
#installGuideModal {
    z-index: 9999 !important;
}

#installGuideModal .modal-backdrop {
    z-index: 9998 !important;
}

/* Modal Header */
#installGuideModal .modal-header {
    background: linear-gradient(135deg, #007bff 0%, #0056b3 100%);
    color: white;
    border-bottom: none;
    border-radius: 0.375rem 0.375rem 0 0;
}

#installGuideModal .modal-title {
    font-weight: 600;
    font-size: 1.25rem;
    color: white !important;
}

#installGuideModal .btn-close {
    filter: invert(1);
}

/* Platform Headers */
.platform-header {
    text-align: center;
    padding: 1rem 0;
    border-bottom: 2px solid #e9ecef;
    margin-bottom: 1.5rem;
}

.platform-header h6 {
    font-weight: 600;
    font-size: 1.1rem;
    margin: 0;
}

.platform-header i {
    font-size: 1.5rem;
}

/* Install Steps */
.install-steps {
    padding: 0;
}

.step {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1.5rem;
    padding: 0.5rem 0;
}

.step:last-child {
    margin-bottom: 0;
}

.step-number {
    background: linear-gradient(135deg, #007bff 0%, #0056b3 100%);
    color: white;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 0.9rem;
    margin-right: 1rem;
    flex-shrink: 0;
    box-shadow: 0 2px 8px rgba(0, 123, 255, 0.3);
}

.step-content {
    flex: 1;
    padding-top: 0.25rem;
}

.step-content strong {
    color: #495057;
    font-size: 0.95rem;
    display: block;
    margin-bottom: 0.25rem;
}

.step-content p {
    margin: 0;
    line-height: 1.4;
}

/* Install Guide Sections */
.install-guide-section {
    background: #f8f9fa;
    border-radius: 0.5rem;
    padding: 1.5rem;
    height: 100%;
    border: 1px solid #e9ecef;
}

/* Additional Info Section */
.bg-light {
    background-color: #f8f9fa !important;
    border: 1px solid #e9ecef;
}

.bg-light h6 {
    color: #495057;
    font-weight: 600;
}

.bg-light ul {
    color: #6c757d;
}

.bg-light li {
    margin-bottom: 0.25rem;
}

/* Modal Footer */
#installGuideModal .modal-footer {
    border-top: 1px solid #e9ecef;
    background-color: #f8f9fa;
    border-radius: 0 0 0.375rem 0.375rem;
}

#installGuideModal .btn {
    font-weight: 500;
    padding: 0.5rem 1rem;
}

#installGuideModal .btn-primary {
    background: linear-gradient(135deg, #007bff 0%, #0056b3 100%);
    border: none;
    box-shadow: 0 2px 8px rgba(0, 123, 255, 0.3);
}

#installGuideModal .btn-primary:hover {
    background: linear-gradient(135deg, #0056b3 0%, #004085 100%);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 123, 255, 0.4);
}

#installGuideModal .btn-secondary {
    background-color: #6c757d;
    border: none;
}

#installGuideModal .btn-secondary:hover {
    background-color: #5a6268;
    transform: translateY(-1px);
}

/* Responsive Design */
@media (max-width: 768px) {
    #installGuideModal .modal-dialog {
        margin: 0.5rem;
    }
    
    .install-guide-section {
        padding: 1rem;
        margin-bottom: 1rem;
    }
    
    .step {
        margin-bottom: 1rem;
    }
    
    .step-number {
        width: 28px;
        height: 28px;
        font-size: 0.8rem;
        margin-right: 0.75rem;
    }
    
    .step-content strong {
        font-size: 0.9rem;
    }
    
    .step-content p {
        font-size: 0.8rem;
    }
}

/* Dark Theme Support */
[data-theme="dark"] .install-guide-section {
    background: #2d2d2d;
    border-color: #444;
}

[data-theme="dark"] .platform-header {
    border-color: #444;
}

[data-theme="dark"] .step-content strong {
    color: #e9ecef;
}

[data-theme="dark"] .step-content p {
    color: #adb5bd;
}

[data-theme="dark"] .bg-light {
    background-color: #2d2d2d !important;
    border-color: #444;
}

[data-theme="dark"] .bg-light h6 {
    color: #e9ecef;
}

[data-theme="dark"] .bg-light ul {
    color: #adb5bd;
}

[data-theme="dark"] #installGuideModal .modal-footer {
    background-color: #2d2d2d;
    border-color: #444;
}

/* Animation for step numbers */
.step-number {
    transition: all 0.3s ease;
}

.step:hover .step-number {
    transform: scale(1.1);
    box-shadow: 0 4px 12px rgba(0, 123, 255, 0.4);
}

/* Hover effects for steps */
.step {
    transition: all 0.2s ease;
    border-radius: 0.5rem;
    padding: 0.75rem;
    margin: 0.5rem 0;
}

.step:hover {
    background-color: rgba(0, 123, 255, 0.05);
    transform: translateX(5px);
}

[data-theme="dark"] .step:hover {
    background-color: rgba(0, 123, 255, 0.1);
}
