/* Basic reset */
body {
    font-family: 'Segoe UI', Arial, sans-serif;
    background: #f4f6fb;
    margin: 0;
    padding: 0;
    min-height: 100vh;
}

/* Center the main container */
.container {
    max-width: 520px;
    margin: 60px auto 40px auto;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(79, 140, 255, 0.10);
    padding: 40px 28px;
    transition: box-shadow 0.2s;
}
.container:hover {
    box-shadow: 0 12px 40px rgba(79, 140, 255, 0.13);
}

/* Headings */
h1 {
    text-align: center;
    color: #2d3a4b;
    margin-bottom: 24px;
    border-bottom: 2px solid #e3e8f0;
    padding-bottom: 12px;
    margin-bottom: 32px;
}

/* Textarea styling */
textarea {
    width: 100%;
    min-height: 120px;
    border: 1px solid #d1d9e6;
    border-radius: 8px;
    padding: 12px;
    font-size: 1rem;
    resize: vertical;
    margin-bottom: 20px;
    background: #f9fafc;
    transition: border 0.2s;
}
textarea:focus {
    border-color: #4f8cff;
    outline: none;
}

/* Button styling */
button {
    display: block;
    width: 100%;
    padding: 12px 0;
    background: linear-gradient(90deg, #4f8cff 0%, #6fc3ff 100%);
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s;
    margin-top: 10px;
}

/* Add to the end of your file */

/* Style file input */
input[type="file"] {
    display: block;
    width: 100%;
    padding: 10px;
    border: 1px solid #d1d9e6;
    border-radius: 8px;
    background: #f9fafc;
    margin-bottom: 24px;
    font-size: 1rem;
}

/* Button hover effect */
button:hover {
    background: linear-gradient(90deg, #357ae8 0%, #4f8cff 100%);
    box-shadow: 0 2px 8px rgba(79,140,255,0.15);
}

/* Style download link as button */
#result a {
    display: inline-block;
    margin-top: 18px;
    padding: 12px 24px;
    background: linear-gradient(90deg, #4f8cff 0%, #6fc3ff 100%);
    color: #fff;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: background 0.2s;
}
#result a:hover {
    background: linear-gradient(90deg, #357ae8 0%, #4f8cff 100%);
}

/* Add a subtle divider */
form {
    border-bottom: 1px solid #e3e8f0;
    padding-bottom: 18px;
    margin-bottom: 18px;
}

/* Footer styling */
footer {
    text-align: center;
    color: #a0aec0;
    font-size: 0.95rem;
    margin-top: 32px;
    border-top: 1px solid #e3e8f0;
    padding-top: 16px;
    margin-top: 40px;
}

/* Optional: Add a soft background gradient */
body {
    background: linear-gradient(120deg, #f4f6fb 60%, #e3e8f0 100%);
}

/* Drag and drop zone styling */
#dropZone {
    border: 2px dashed #4f8cff;
    border-radius: 10px;
    background: #f9fafc;
    color: #2d3a4b;
    text-align: center;
    padding: 36px 16px;
    margin-bottom: 24px;
    cursor: pointer;
    transition: border-color 0.2s, background 0.2s;
    position: relative;
    font-size: 1.15rem;
    font-weight: 400;
    background: #f4f8ff;
    border: 2.5px dashed #4f8cff;
    margin-bottom: 28px;
}
#dropZone.dragover {
    border-color: #357ae8;
    background: #e3e8f0;
}
#dropZone p {
    margin: 0;
    font-size: 1.1rem;
    color: #357ae8;
}
#dropZone::before {
    content: "⬇️";
    font-size: 2.2rem;
    display: block;
    margin-bottom: 10px;
}
#dropZone span {
    color: #a0aec0;
    font-size: 0.95rem;
}

/* Form label styling */
form label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: #4f8cff;
    letter-spacing: 0.5px;
}

@media (max-width: 600px) {
    .container {
        padding: 16px 4px;
        max-width: 98vw;
    }
    #dropZone {
        padding: 24px 4px;
    }
    iframe {
        height: 300px !important;
    }
}

/* Navigation bar styling */
.main-nav {
    display: flex;
    justify-content: center;
    gap: 18px;
    margin: 24px 0 32px 0;
}

.main-nav a {
    padding: 10px 24px;
    background: linear-gradient(90deg, #4f8cff 0%, #6fc3ff 100%);
    color: #fff;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.05rem;
    transition: background 0.2s, box-shadow 0.2s, color 0.2s;
    box-shadow: 0 2px 8px rgba(79,140,255,0.10);
    border: none;
}

.main-nav a:hover,
.main-nav a:focus {
    background: linear-gradient(90deg, #357ae8 0%, #4f8cff 100%);
    color: #fff;
    box-shadow: 0 4px 16px rgba(79,140,255,0.13);
    text-decoration: none;
}