/* Gradient Background */
body {
    margin: 0;
    padding: 0;
    height: 100vh;
    background: linear-gradient(135deg, #4f46e5, #8b5cf6, #ec4899);
    background-size: 400% 400%;
    animation: gradientBG 15s ease infinite;
    display: flex;
    justify-content: center;
    align-items: center;
    font-family: 'Segoe UI', Arial, sans-serif;
}

/* Animate Gradient */
@keyframes gradientBG {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* Centered Card */
.container {
    background: rgba(255, 255, 255, 0.95);
    padding: 35px 40px;
    border-radius: 12px;
    box-shadow: 0 15px 30px rgba(0,0,0,0.2);
    width: 100%;
    max-width: 400px;
    text-align: center;
}

/* Headings */
h2 {
    margin-bottom: 25px;
    color: #333;
    font-size: 1.5rem;
    text-align: center;
}

form {
    width: 100%;
}


/* Labels */
label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #555;
}

/* Inputs */
input[type="text"],
input[type="file"] {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ccc;
    border-radius: 6px;
    margin-bottom: 20px;
    box-sizing: border-box;
    font-size: 1rem;
}

/* Button Styles */
button {
    background: #0ad06a;
    color: #fff;
    padding: 12px 18px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    width: 100%;
    font-size: 1rem;
    font-weight: 600;
    transition: background 0.3s ease;
}

button:hover {
    background: #3730a3;
}


button.back-btn {
    background: #6c757d;
    color: #fff;
    padding: 10px 18px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    width: 100%;
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 20px;
}

button.back-btn:hover {
    background: #5a6268;
}



/* Download Link */
a {
    display: inline-block;
    margin-top: 15px;
    color: #fff;
    background: #10b981;
    padding: 10px 18px;
    text-decoration: none;
    border-radius: 6px;
    font-weight: 600;
    transition: background 0.3s ease;
}

a:hover {
    background: #059669;
}

/* Error Message */
.alert {
    color: red;
    margin-bottom: 10px;
    font-weight: 500;
}


.container {
    background: rgba(255, 255, 255, 0.95);
    padding: 35px 40px;
    border-radius: 12px;
    box-shadow: 0 15px 30px rgba(0,0,0,0.2);
    width: 100%;
    max-width: 400px;
    text-align: left;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.success {
    color: green;
    margin-top: 10px;
    font-weight: 600;
}
