/* =========================
   Global Styles
========================= */

body {
    background: linear-gradient(135deg, #0f2027, #203a43, #2c5364);
    min-height: 100vh;
    font-family: 'Segoe UI', sans-serif;
    color: #fff;
}

/* =========================
   Navbar (Glass Effect)
========================= */

.glass-nav {
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

/* =========================
   Glass Card
========================= */

.glass-card {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(15px);
    border-radius: 16px;
    padding: 40px;
    border: 1px solid rgba(255,255,255,0.15);
    box-shadow: 0 10px 40px rgba(0,0,0,0.4);
}

/* =========================
   Section Title
========================= */

.section-title {
    font-weight: 600;
    letter-spacing: 0.5px;
}

/* =========================
   Drop Zone
========================= */

.drop-zone {
    border: 2px dashed rgba(255,255,255,0.4);
    border-radius: 14px;
    padding: 40px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}

.drop-zone:hover {
    background: rgba(255,255,255,0.05);
    border-color: #00d4ff;
}

.drop-zone input[type="file"] {
    position: absolute;
    inset: 0;
    opacity: 0;
    cursor: pointer;
}

/* =========================
   Sortable File List
========================= */

.sortable-list .list-group-item {
    background: rgba(255,255,255,0.07);
    border: 1px solid rgba(255,255,255,0.15);
    color: #fff;
    margin-bottom: 8px;
    border-radius: 8px;
}

/* =========================
   Glow Button
========================= */

.btn-glow {
    background: linear-gradient(45deg, #00d4ff, #007bff);
    border: none;
    color: #fff;
    font-weight: 600;
    padding: 12px;
    border-radius: 10px;
    transition: all 0.3s ease;
}

.btn-glow:hover {
    box-shadow: 0 0 15px rgba(0, 212, 255, 0.7);
    transform: translateY(-2px);
}

/* =========================
   Progress Bar
========================= */

.progress {
    height: 10px;
    background: rgba(255,255,255,0.1);
    border-radius: 10px;
}

.progress-bar {
    transition: width 0.4s ease;
}

/* =========================
   Error Overlay
========================= */

.error-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.8);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.error-box {
    background: #1c1c1c;
    padding: 30px;
    border-radius: 12px;
    text-align: center;
    max-width: 400px;
    border: 1px solid rgba(255,255,255,0.2);
}

.error-box h5 {
    color: #ff4d4d;
}