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

.card {
    border: none;
    border-radius: 10px;
}

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

.dropzone {
    border: 2px dashed #0087F7;
    border-radius: 5px;
    background: white;
    min-height: 250px;
    padding: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.dropzone .dz-message {
    text-align: center;
}

.dropzone .dz-preview .dz-progress {
    height: 10px;
    border-radius: 5px;
}

.upload-result {
    padding: 15px;
    margin-bottom: 10px;
    border-radius: 5px;
}

.upload-success {
    background-color: #d4edda;
    border: 1px solid #c3e6cb;
}

.upload-error {
    background-color: #f8d7da;
    border: 1px solid #f5c6cb;
}

.sidebar {
    position: sticky;
    top: 20px;
}

.sidebar .nav-link {
    color: #333;
    padding: 10px 15px;
    border-radius: 5px;
    margin-bottom: 5px;
}

.sidebar .nav-link:hover, .sidebar .nav-link.active {
    background-color: #007bff;
    color: white;
}

@media (max-width: 768px) {
    .sidebar {
        position: static;
        margin-bottom: 20px;
    }
}

/* Digital Clock Styles */
#digital-clock {
    font-family: 'Courier New', monospace;
    font-size: 26px;
    font-weight: bold;
    color: white;
    text-shadow: 0 0 5px rgba(0, 0, 0, 0.5);
}

/* Footer adjustments for clock */
.footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
}

.footer-center {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .footer {
        flex-direction: column;
        height: auto;
        padding: 10px;
        text-align: center;
    }
    
    .footer-center {
        position: relative;
        left: 0;
        transform: none;
        order: 2;
        margin: 10px 0;
    }
    
    .footer-left {
        order: 1;
    }
    
    .footer-right {
        order: 3;
    }
    
    #digital-clock {
        font-size: 24px;
    }
}

/* Progress Bar Styles */
.upload-progress-container {
    margin-top: 15px;
    display: none;
}
.progress {
    height: 20px;
    border-radius: 10px;
    margin-bottom: 5px;
    background-color: #e9ecef;
    overflow: hidden;
}
.progress-bar {
    border-radius: 10px;
    transition: width 0.3s ease;
    font-size: 12px;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-shadow: 0 1px 2px rgba(0,0,0,0.3);
}
.progress-info {
    display: flex;
    justify-content: space-between;
    font-size: 12px;
    color: #666;
    margin-bottom: 5px;
}
.upload-speed {
    font-weight: bold;
    color: #007bff;
}
.time-remaining {
    font-weight: bold;
    color: #28a745;
}
.upload-status {
    text-align: center;
    font-weight: bold;
    margin-top: 5px;
    font-size: 14px;
    color: #495057;
}

/* Progress bar color states */
.progress-bar.bg-info {
    background: linear-gradient(45deg, #17a2b8, #20c997) !important;
}
.progress-bar.bg-primary {
    background: linear-gradient(45deg, #007bff, #6610f2) !important;
}
.progress-bar.bg-success {
    background: linear-gradient(45deg, #28a745, #20c997) !important;
}
.progress-bar.bg-danger {
    background: linear-gradient(45deg, #dc3545, #fd7e14) !important;
}

/* Animation for progress bar */
.progress-bar-striped {
    background-image: linear-gradient(45deg, rgba(255,255,255,0.15) 25%, transparent 25%, transparent 50%, rgba(255,255,255,0.15) 50%, rgba(255,255,255,0.15) 75%, transparent 75%, transparent);
    background-size: 1rem 1rem;
}

.progress-bar-animated {
    animation: progress-bar-stripes 1s linear infinite;
}

@keyframes progress-bar-stripes {
    0% {
        background-position: 1rem 0;
    }
    100% {
        background-position: 0 0;
    }
}

/* Dropzone progress overrides */
.dz-preview .dz-progress {
    opacity: 1 !important;
    z-index: 1000 !important;
}

.dz-preview .dz-details {
    opacity: 1 !important;
}