/* BACKGROUND IMAGE */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    text-align: center;
    background-image: url("mainpageimage.png");
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

/* DARK OVERLAY */
body::before {
    content: "";
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
    z-index: -1;
}

/* SAME HEADING BAR AS MERGE PAGE */
.top-bar {
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 123, 255, 0.95);
    padding: 15px;
    position: relative;
}

.back-arrow {
    position: absolute;
    left: 20px;
    font-size: 28px;
    color: white;
    cursor: pointer;
    font-weight: bold;
    transition: 0.2s;
}

.back-arrow:hover {
    color: #d1d1d1;
    transform: scale(1.15);
}

.heading {
    color: #ffffff;
    margin: 0;
    font-size: 30px;
    font-weight: bold;
}

/* SAME GREEN TIRCHI LINE */
.green-line {
    width: 100%;
    height: 12px;
    background: linear-gradient(90deg, #0aff6c, #00c94a);
    clip-path: polygon(0 0, 100% 0, 100% 60%, 0 100%);
    margin-bottom: 30px;
}

/* WHITE TOOL BOX */
.container {
    background: rgba(255, 255, 255, 0.98);
    width: 480px;
    max-width: 95%;
    margin: 40px auto;
    padding: 25px 20px 30px;
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.25);
}

/* FILE INPUT */
.file-group {
    margin-bottom: 18px;
}

#pdfFile {
    display: none;
}

.file-label {
    display: inline-block;
    padding: 10px 20px;
    background: white;
    border-radius: 6px;
    border: 1px solid #007bff;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
}

/* OPTIONS LAYOUT */
.options-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    margin: 10px 0 5px;
}

.option {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    font-size: 13px;
}

.option label {
    margin-bottom: 3px;
    font-weight: 600;
}

.option select {
    padding: 5px 8px;
    border-radius: 6px;
    border: 1px solid #ccc;
    font-size: 13px;
}

/* BUTTON */
button {
    margin-top: 15px;
    padding: 10px 25px;
    background: #007bff;
    color: white;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 15px;
    font-weight: 600;
}

button:disabled {
    opacity: 0.7;
    cursor: default;
}

button:hover:not(:disabled) {
    background: #0056b3;
}

/* STATUS TEXT */
.status-text {
    margin-top: 10px;
    font-size: 13px;
    color: #444;
}
