﻿
@font-face {
    font-family: 'Varela Round';
    src: url('assets/fonts/VarelaRound-Regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
}

* {
    font-family: "Varela Round", sans-serif;
    font-weight: 400;
    font-style: normal;
}

:root {
    --primary-color: #2c3e50;
    --secondary-color: #3498db;
    --success-color: #27ae60;
    --warning-color: #f39c12;
    --danger-color: #e74c3c;
}

html,
body {
    height: 100%;
    margin: 0;
    display: flex;
    flex-direction: column;
}

body {
    /*    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);*/
    background-color: #f8f8f8;
    min-height: 100vh;
    font-family: "Varela Round", sans-serif;
    font-weight: 400;
    font-style: normal;
}

.navbar-custom {
    background-color: var(--primary-color);
}

.navbar-brand,
.nav-link {
    color: #fff;
}

    .navbar-brand:hover,
    .nav-link:hover {
        color: var(--secondary-color);
    }

.main-container {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    margin: 50px auto;
    max-width: 800px;
    overflow: hidden;
}

.header {
    background: var(--primary-color);
    color: white;
    padding: 2rem;
    text-align: center;
    position: relative;
}

    .header::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: linear-gradient(45deg, transparent 49%, rgba(255, 255, 255, 0.1) 50%, transparent 51%);
    }

    .header h1 {
        margin: 0;
        font-size: 2.5rem;
        font-weight: 700;
        position: relative;
        z-index: 1;
    }

    .header p {
        margin: 0.5rem 0 0 0;
        opacity: 0.9;
        font-size: 1.1rem;
        position: relative;
        z-index: 1;
    }

.content-section {
    padding: 2rem;
}

.step-card {
    background: white;
    border-radius: 15px;
    padding: 2rem;
    margin-bottom: 2rem;
    border: 1px solid #e9ecef;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

    .step-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
    }

.step-number {
    background: var(--secondary-color);
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

.btn-custom {
    background: linear-gradient(45deg, var(--secondary-color), #5dade2);
    border: none;
    color: white;
    padding: 12px 30px;
    border-radius: 25px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(52, 152, 219, 0.3);
}

    .btn-custom:hover {
        transform: translateY(-2px);
        box-shadow: 0 6px 20px rgba(52, 152, 219, 0.4);
        color: white;
    }

.btn-success-custom {
    background: linear-gradient(45deg, var(--success-color), #58d68d);
    border: none;
    color: white;
    padding: 12px 30px;
    border-radius: 25px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(39, 174, 96, 0.3);
}

    .btn-success-custom:hover {
        transform: translateY(-2px);
        box-shadow: 0 6px 20px rgba(39, 174, 96, 0.4);
        color: white;
    }

.upload-area {
    border: 3px dashed #cbd5e0;
    border-radius: 15px;
    padding: 3rem;
    text-align: center;
    background: #f8fafc;
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

    .upload-area:hover {
        border-color: var(--secondary-color);
        background: #e3f2fd;
    }

    .upload-area.dragover {
        border-color: var(--success-color);
        background: #e8f5e8;
        transform: scale(1.02);
    }

.upload-icon {
    font-size: 4rem;
    color: #94a3b8;
    margin-bottom: 1rem;
    transition: color 0.3s ease;
}

.upload-area:hover .upload-icon {
    color: var(--secondary-color);
}

.file-input {
    position: absolute;
    opacity: 0;
    width: 100%;
    height: 100%;
    cursor: pointer;
}

.progress-section {
    display: none;
    margin-top: 2rem;
}

.file-list {
    margin-top: 1rem;
}

.file-item {
    background: #f8f9fa;
    border-radius: 10px;
    padding: 1rem;
    margin-bottom: 0.5rem;
    border-left: 4px solid var(--secondary-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.alert-custom {
    border-radius: 15px;
    border: none;
    padding: 1rem 1.5rem;
    margin: 1rem 0;
}

.feature-icon {
    font-size: 2rem;
    color: var(--secondary-color);
    margin-bottom: 1rem;
}

.container {
    flex: 1;
    /* Fills remaining height, pushing footer down */
}

.footer {
    background: #2c3e50;
    color: white;
    text-align: center;
    padding: 1rem;
    margin-top: auto;
}

@media (max-width: 768px) {
    .main-container {
        margin: 20px;
        border-radius: 15px;
    }

    .header h1 {
        font-size: 2rem;
    }

    .content-section {
        padding: 1rem;
    }

    .step-card {
        padding: 1.5rem;
    }
}
