body {
    font-family: 'Arial', sans-serif;
    background: linear-gradient(135deg, #ff7e5f, #feb47b);
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    margin: 0;
    padding: 0;
}

.upload-container {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
}

.upload-box {
    background-color: #fff;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    text-align: center;
    width: 400px;
    max-width: 90%;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.upload-box:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.upload-header h2 {
    margin-bottom: 10px;
    color: #333;
    font-size: 28px;
    font-weight: 700;
}

.upload-header p {
    margin-bottom: 20px;
    color: #666;
    font-size: 16px;
}

input[type="file"] {
    display: none;
}

#fileLabel {
    display: block;
    background-color: #fe9169;
    color: white;
    padding: 12px 20px;
    border-radius: 25px;
    cursor: pointer;
    margin-bottom: 20px;
    font-size: 16px;
    transition: background-color 0.3s ease;
}

#fileLabel:hover {
    background-color: #cb7858;
}

button {
    padding: 12px 30px;
    border: none;
    border-radius: 25px;
    background-color: #2890a7;
    color: #fff;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

button:hover {
    background-color: #35bad7;
    transform: translateY(-3px);
}

#fileURL {
    margin-top: 20px;
    font-size: 14px;
    color: #555;
    word-wrap: break-word;
}

#fileURL a {
    color: #007bff;
    text-decoration: none;
    transition: color 0.3s ease;
}

#fileURL a:hover {
    color: #0056b3;
}

.loader {
    display: none;
    border: 8px solid #f3f3f3;
    border-radius: 50%;
    border-top: 8px solid #3498db;
    width: 40px;
    height: 40px;
    animation: spin 2s linear infinite;
    margin: 20px auto;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}
