@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;600;700&display=swap');

:root {
    --primary-color: #6200EA;
    --secondary-color: #B388FF;
    --background-color: #F5F5F5;
    --text-color: #333333;
    --card-bg-color: #FFFFFF;
}

body {
    font-family: 'Poppins', sans-serif;
    background: linear-gradient(135deg, var(--background-color) 0%, #E0E0E0 100%);
    color: var(--text-color);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem 0;
}

.container {
    max-width: 1200px;
    width: 100%;
}

.main-card {
    border: none;
    border-radius: 20px;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.05);
    background-color: var(--card-bg-color);
    overflow: hidden;
}

.card-body {
    padding: 3rem;
}

h1 {
    color: var(--primary-color);
    font-weight: 700;
    font-size: 3rem;
}

h2 {
    color: var(--secondary-color);
    font-weight: 600;
    font-size: 1.5rem;
}

p {
    color: var(--text-color);
    font-size: 1rem;
    line-height: 1.6;
}

#drop-area {
    border: 2px dashed var(--secondary-color);
    border-radius: 15px;
    padding: 2rem;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    background-color: rgba(179, 136, 255, 0.1);
}

#drop-area:hover,
#drop-area.highlight {
    background-color: rgba(179, 136, 255, 0.2);
    border-color: var(--primary-color);
}

#drop-area label {
    display: flex;
    flex-direction: column;
    align-items: center;
    color: var(--primary-color);
    cursor: pointer;
}

#drop-area i {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    transition: all 0.3s ease;
    font-weight: 600;
    font-size: 1.1rem;
    position: relative;
    overflow: hidden;
}

.btn-primary:hover {
    background-color: #5000D6;
    border-color: #5000D6;
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(98, 0, 234, 0.3);
}

.btn-primary:disabled {
    background-color: #9d7ae0;
    border-color: #9d7ae0;
    cursor: not-allowed;
}

.button-loader {
    display: none;
}

.btn-primary.loading .button-text {
    opacity: 0;
}

.btn-primary.loading .button-loader {
    display: inline-block;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
}

#file-list {
    max-height: 150px;
    overflow-y: auto;
}

.file-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: rgba(179, 136, 255, 0.1);
    border-radius: 10px;
    padding: 0.75rem 1rem;
    margin-bottom: 0.75rem;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.file-item:hover {
    background-color: rgba(179, 136, 255, 0.2);
}

.file-item i {
    margin-right: 0.5rem;
    color: var(--primary-color);
}

.btn-icon {
    background: none;
    border: none;
    color: var(--primary-color);
    font-size: 1rem;
    padding: 0.5rem;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.btn-icon:hover {
    background-color: rgba(98, 0, 234, 0.1);
    color: #5000D6;
}

.remove-file {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
}

.alert-container {
    position: fixed;
    bottom: 20px;
    right: 20px;
    max-width: 350px;
    z-index: 1000;
}

.alert {
    margin-bottom: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

@media (max-width: 768px) {
    .card-body {
        padding: 2rem;
    }

    h1 {
        font-size: 2.5rem;
    }

    h2 {
        font-size: 1.25rem;
    }
}
