body {
    font-family: Arial, sans-serif;
    background-color:bisque;
    margin:0;
    padding: 30px;
    color: #222;
}

main {
    max-width: 950px;
    margin: 0 auto;
}

h1 {
    text-align: center;
    color: #2457a7;
}

form {
    background-color: white;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.top-sections {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.sender {
    border-right: 1px solid #ddd;
    padding-right: 30px;
}

h2 {
    color: #2457a7;
    margin-top: 0;
}

/* Image preview */
.preview-box {
    width: 100%;
    height: 200px;
    border: 2px dashed #aaa;
    border-radius: 8px;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

#imagePreview {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.name-row,
.payment-row {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
}

label {
    display: block;
    margin: 12px 0 6px;
    font-weight: bold;
    font-size: 14px;
}

input:not([type="radio"]):not([type="checkbox"]),
textarea,
select {
    box-sizing: border-box;
    width: 100%;
    padding: 10px;
    border: 1px solid #bbb;
    border-radius: 6px;
    font-size: 14px;
}

textarea {
    height: 100px;
    resize: vertical;
}

.radio-row {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.radio-row label {
    font-weight: normal;
}

.payment {
    max-width: 650px;
    margin: 35px auto 0;
}

.terms {
    margin-top: 20px;
    font-weight: normal;
}

button {
    width: 100%;
    background-color: #b7dda8;
    border: none;
    padding: 15px;
    margin-top: 15px;
    font-size: 20px;
    border-radius: 6px;
    cursor: pointer;

}

button:hover {
    background-color: #9acb87;
}

.result-page {
    max-width: 550px;
    margin: 100px auto;
    text-align: center;
}

.result-box {
    background-color: white;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.result-box p {
    font-size: 18px;
}

.result-box a {
    display: inline-block;
    margin-top: 20px;
    padding: 12px 20px;
    background-color: #b7dda8;
    color: black;
    text-decoration: none;
    border-radius: 6px;
}

.result-box a:hover {
    background-color: #9acb87;
}
