body {
    font-family: 'Arial', sans-serif;
    background: linear-gradient(135deg, #c0eaff, #a0d8f0);
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    margin: 0;
}

.container {
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(25px) saturate(180%);
    -webkit-backdrop-filter: blur(25px) saturate(180%);
    border: 1px solid rgba(255,255,255,0.25);
    border-radius: 30px;
    padding: 40px;
    text-align: center;
    width: 90%;
    max-width: 700px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.15), inset 0 0 40px rgba(255,255,255,0.1);
}

h1 {
    margin-bottom: 20px;
    color: #004d40;
    text-shadow: 0 1px 2px rgba(0,0,0,0.2);
}
#downloadAllBtn {
    margin-top: 15px;
}


.settings {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 20px;
}

.settings label {
    color: #004d40;
    font-weight: bold;
}

.settings input {
    width: 80px;
    padding: 5px;
    border-radius: 8px;
    border: 1px solid rgba(0,0,0,0.2);
    margin-left: 5px;
}

.drop-area {
    background: rgba(255,255,255,0.2);
    border: 2px dashed rgba(255,255,255,0.4);
    border-radius: 25px;
    padding: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    box-shadow: inset 0 0 20px rgba(255,255,255,0.2);
    position: relative;
}

.drop-area.hovered {
    background: rgba(255,255,255,0.35);
    box-shadow: inset 0 0 30px rgba(255,255,255,0.3), 0 4px 30px rgba(0,0,0,0.1);
}

.drop-area input {
    display: none;
}

button {
    margin-top: 25px;
    padding: 14px 30px;
    border: none;
    border-radius: 20px;
    background: rgba(255,255,255,0.25);
    color: #004d40;
    font-size: 17px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    box-shadow: 0 8px 32px rgba(0,0,0,0.1), inset 0 0 15px rgba(255,255,255,0.2);
}

button:hover {
    background: rgba(255,255,255,0.35);
    color: #00796b;
    box-shadow: 0 10px 40px rgba(0,0,0,0.15), inset 0 0 20px rgba(255,255,255,0.3);
}

.uploaded-files {
    margin-top: 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.file-item {
    background: rgba(255,255,255,0.2);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-radius: 15px;
    padding: 10px 15px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    animation: popIn 0.3s ease forwards;
    box-shadow: inset 0 0 10px rgba(255,255,255,0.2);
    position: relative;
}

.file-item span {
    color: #004d40;
    font-weight: bold;
    word-break: break-word;
}

.file-item .remove-btn {
    background: rgba(255,0,0,0.7);
    border: none;
    border-radius: 50%;
    width: 25px;
    height: 25px;
    color: white;
    cursor: pointer;
    font-weight: bold;
    font-size: 16px;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: 0.3s;
    position: absolute;
    top: -10px;
    right: -10px;
}

.file-item .remove-btn:hover {
    background: red;
}

@keyframes popIn {
    0% { transform: scale(0.8); opacity: 0; }
    100% { transform: scale(1); opacity: 1; }
}

.validation {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0);
    background: rgba(0,200,100,0.8);
    color: white;
    font-weight: bold;
    padding: 15px 30px;
    border-radius: 25px;
    font-size: 18px;
    z-index: 10;
    opacity: 0;
    transition: all 0.3s ease;
}

.validation.show {
    transform: translate(-50%, -50%) scale(1);
    opacity: 1;
}

#results {
    margin-top: 25px;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

#results a {
    background: rgba(255,255,255,0.2);
    padding: 12px 20px;
    border-radius: 15px;
    text-decoration: none;
    color: #004d40;
    font-weight: bold;
    transition: 0.3s;
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    box-shadow: inset 0 0 15px rgba(255,255,255,0.2);
}

#results a:hover {
    background: rgba(255,255,255,0.35);
    color: #00796b;
    box-shadow: inset 0 0 20px rgba(255,255,255,0.3), 0 5px 20px rgba(0,0,0,0.1);
}
