:root {
    --primary-color: #4361ee;
    --secondary-color: #3a0ca3;
    --success-color: #4cc9f0;
    --light-bg: #f8f9fa;
    --dark-bg: #212529;
}

body {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.glass-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.upload-container {
    background: white;
    border-radius: 15px;
    padding: 40px;
    margin-top: 30px;
    margin-bottom: 30px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.upload-area {
    border: 3px dashed var(--primary-color);
    border-radius: 15px;
    padding: 60px 20px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    background: var(--light-bg);
    position: relative;
    overflow: hidden;
}

.upload-area:hover {
    background: #e9ecef;
    border-color: var(--secondary-color);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.upload-area.dragover {
    background: var(--success-color);
    border-color: var(--secondary-color);
    animation: pulse 1.5s infinite;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(76, 201, 240, 0.4);
    }

    70% {
        box-shadow: 0 0 0 10px rgba(76, 201, 240, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(76, 201, 240, 0);
    }
}

.file-item {
    background: white;
    border-radius: 10px;
    padding: 15px;
    margin: 10px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-left: 5px solid var(--primary-color);
    transition: all 0.3s;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.file-item:hover {
    transform: translateX(5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.file-info {
    flex: 1;
}

.file-name {
    font-weight: 600;
    color: var(--dark-bg);
}

.file-size {
    font-size: 0.9em;
    color: #6c757d;
}

.progress-bar-container {
    margin-top: 10px;
    height: 8px;
    background: #e9ecef;
    border-radius: 4px;
    overflow: hidden;
}

.progress-bar {
    height: 100%;
    background: linear-gradient(90deg, var(--primary-color), var(--success-color));
    width: 0%;
    transition: width 0.3s ease;
}

.stats-card {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    border-radius: 15px;
    padding: 20px;
    margin-bottom: 20px;
    transition: all 0.3s;
}

.stats-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.stats-icon {
    font-size: 2.5rem;
    opacity: 0.9;
}

.stats-number {
    font-size: 2rem;
    font-weight: bold;
    margin: 10px 0;
}

.tab-content {
    background: white;
    border-radius: 0 0 15px 15px;
    padding: 20px;
    border: 1px solid #dee2e6;
    border-top: none;
}

.nav-tabs .nav-link {
    border-radius: 10px 10px 0 0;
    margin-right: 5px;
    border: 1px solid #dee2e6;
    border-bottom: none;
    background: var(--light-bg);
    color: var(--dark-bg);
}

.nav-tabs .nav-link.active {
    background: white;
    border-bottom: 1px solid white;
    color: var(--primary-color);
    font-weight: bold;
}

.status-badge {
    font-size: 0.8em;
    padding: 3px 10px;
    border-radius: 20px;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border: none;
    padding: 12px 30px;
    font-weight: 600;
    letter-spacing: 0.5px;
    transition: all 0.3s;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(67, 97, 238, 0.4);
}

.btn-primary:disabled {
    background: #6c757d;
    transform: none;
    box-shadow: none;
}

.alert-custom {
    border-radius: 10px;
    border: none;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.processing-spinner {
    width: 3rem;
    height: 3rem;
    border-width: 0.3em;
}

.animated-check {
    width: 50px;
    height: 50px;
    background: var(--success-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: scaleCheck 0.5s ease;
}

@keyframes scaleCheck {
    0% {
        transform: scale(0);
    }

    70% {
        transform: scale(1.2);
    }

    100% {
        transform: scale(1);
    }
}

.format-badge {
    background: var(--light-bg);
    color: var(--dark-bg);
    padding: 5px 10px;
    border-radius: 5px;
    font-size: 0.8em;
    margin: 2px;
    display: inline-block;
}
