body {
    background-color: #f8f9fa;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.card {
    border-radius: 10px;
    border: none;
    box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
    transition: box-shadow 0.3s ease;
}

.card:hover {
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
}

.card-header {
    border-radius: 10px 10px 0 0 !important;
    border-bottom: none;
}

.btn {
    border-radius: 8px;
    font-weight: 500;
    transition: all 0.2s ease;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.demo-card {
    height: 100%;
    display: flex;
    flex-direction: column;
}

.demo-card .card-body {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.video-container {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    background-color: #000;
}

.video-container video {
    border-radius: 8px;
    object-fit: cover;
}

.video-container video.latest-demo-video {
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.progress {
    height: 25px;
    border-radius: 12px;
}

.progress-bar {
    font-weight: 500;
}

.alert {
    border-radius: 10px;
}

.form-control {
    border-radius: 8px;
    padding: 12px 15px;
}

.form-control:focus {
    border-color: #0d6efd;
    box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.25);
}

.container {
    max-width: 1200px;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .container {
        padding-left: 15px;
        padding-right: 15px;
    }
    
    .card-body {
        padding: 1.25rem;
    }
    
    h1 {
        font-size: 1.75rem;
    }
}

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

/* Smooth transitions */
* {
    transition: all 0.2s ease;
}

/* Custom scrollbar for gallery */
#demoFeed {
    max-height: calc(100vh - 200px);
    overflow-y: auto;
}

#demoFeed::-webkit-scrollbar {
    width: 8px;
}

#demoFeed::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 4px;
}

#demoFeed::-webkit-scrollbar-thumb {
    background: #c1c1c1;
    border-radius: 4px;
}

#demoFeed::-webkit-scrollbar-thumb:hover {
    background: #a8a8a8;
}

/* Latest demo section */
.bg-info {
    background-color: #17a2b8 !important;
}

.bg-info.text-white a.btn-light {
    color: #17a2b8 !important;
    background-color: white !important;
    border-color: white !important;
}

.bg-info.text-white a.btn-light:hover {
    background-color: #e2e6ea !important;
    border-color: #dae0e5 !important;
}

.latest-demo-video {
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}