/* Feature Pills Navigation Styles */
.feature-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: center;
    margin-bottom: 2rem;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 1rem;
    backdrop-filter: blur(10px);
}

.feature-pill {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 1rem 1.5rem;
    background: rgba(255, 255, 255, 0.9);
    border: 2px solid transparent;
    border-radius: 0.75rem;
    text-decoration: none;
    color: #495057;
    transition: all 0.3s ease;
    min-width: 80px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.feature-pill:hover {
    background: rgba(255, 255, 255, 1);
    border-color: var(--primary-color, #4361ee);
    color: var(--primary-color, #4361ee);
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    text-decoration: none;
}

.feature-pill.active {
    background: var(--primary-color, #4361ee);
    color: white;
    border-color: var(--primary-color, #4361ee);
    box-shadow: 0 4px 20px rgba(67, 97, 238, 0.3);
}

.feature-pill i {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.feature-pill span {
    font-size: 0.875rem;
    font-weight: 500;
    text-align: center;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .feature-pills {
        gap: 0.25rem;
        padding: 0.5rem;
    }
    
    .feature-pill {
        padding: 0.75rem 1rem;
        min-width: 60px;
    }
    
    .feature-pill i {
        font-size: 1.25rem;
        margin-bottom: 0.25rem;
    }
    
    .feature-pill span {
        font-size: 0.75rem;
    }
}

/* Dark mode support */
body.dark-mode .feature-pill {
    background: rgba(33, 37, 41, 0.9);
    color: #f8f9fa;
}

body.dark-mode .feature-pill:hover {
    background: rgba(33, 37, 41, 1);
    color: var(--primary-color, #4361ee);
}

body.dark-mode .feature-pill.active {
    background: var(--primary-color, #4361ee);
    color: white;
}

/* Focus styles for accessibility */
.feature-pill:focus {
    outline: 2px solid var(--primary-color, #4361ee);
    outline-offset: 2px;
}

/* Animation for smooth transitions */
.feature-content {
    animation: fadeIn 0.3s ease-in-out;
}

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

/* Enhanced drag and drop zones */
.drag-drop-zone {
    transition: all 0.3s ease;
    cursor: pointer;
}

.drag-drop-zone:hover {
    border-color: var(--primary-color, #4361ee) !important;
    background-color: rgba(67, 97, 238, 0.05);
}

.drag-drop-zone:focus {
    outline: 2px solid var(--primary-color, #4361ee);
    outline-offset: 2px;
}

/* Enhanced button styles */
.btn-lg {
    padding: 0.75rem 2rem;
    font-size: 1.1rem;
    font-weight: 500;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color, #4361ee), #3a56d4);
    border: none;
    box-shadow: 0 4px 15px rgba(67, 97, 238, 0.3);
}

.btn-primary:hover {
    background: linear-gradient(135deg, #3a56d4, var(--primary-color, #4361ee));
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(67, 97, 238, 0.4);
}

.btn-success {
    background: linear-gradient(135deg, #28a745, #20c997);
    border: none;
    box-shadow: 0 4px 15px rgba(40, 167, 69, 0.3);
}

.btn-success:hover {
    background: linear-gradient(135deg, #20c997, #28a745);
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(40, 167, 69, 0.4);
}

.btn-info {
    background: linear-gradient(135deg, #17a2b8, #20c997);
    border: none;
    box-shadow: 0 4px 15px rgba(23, 162, 184, 0.3);
}

.btn-info:hover {
    background: linear-gradient(135deg, #20c997, #17a2b8);
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(23, 162, 184, 0.4);
}

/* Loading spinner improvements */
.spinner-border-sm {
    width: 1rem;
    height: 1rem;
}

/* Form enhancements */
.form-control:focus,
.form-select:focus {
    border-color: var(--primary-color, #4361ee);
    box-shadow: 0 0 0 0.2rem rgba(67, 97, 238, 0.25);
}

.input-group-text {
    background-color: #f8f9fa;
    border-color: #dee2e6;
}

/* Progress stepper enhancements */
.progress-stepper {
    margin: 2rem 0;
}

/* QR result enhancements */
#qrCodeContainer {
    background: white;
    border: 1px solid #dee2e6;
    display: inline-block;
    padding: 1rem;
}

.qr-info {
    background: #f8f9fa;
    border: 1px solid #dee2e6;
}

/* Theme toggle button */
.theme-toggle {
    width: 60px;
    height: 60px;
    border: none;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
}

.theme-toggle:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.2);
}

/* Error alert positioning */
.alert.position-fixed {
    max-width: 500px;
    z-index: 9999;
}

/* Screen reader only class */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}
