/* General Body Styles */
body {
    font-family: 'Poppins', sans-serif;
    margin: 0;
    background-color: #fdf8f5; /* A soft, warm background */
    color: #333;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
}

/* Main Container */
.container {
    background-color: #fff;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    max-width: 700px; /* Adjusted for a single column layout */
    width: 90%;
    margin: 20px;
}

.content-wrapper {
    width: 100%;
}

/* Banner Image */
.banner-image img {
    width: 100%;
    height: auto; /* Maintain aspect ratio */
    display: block;
}

/* Form Area */
.form-area {
    padding: 40px;
}

.form-area h1 {
    font-size: 2.2rem;
    font-weight: 700;
    color: #d13a69; /* A vibrant pink/magenta */
    margin-bottom: 15px;
}

.form-area .subhead {
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 30px;
    color: #555;
}

/* Form Styles */
.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 8px;
    font-size: 0.9rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 1rem;
    box-sizing: border-box; /* Important for padding and width */
    transition: border-color 0.3s;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #d13a69;
}

/* Terms and Conditions Checkbox */
.terms-group {
    display: flex;
    align-items: center;
    font-size: 0.9rem;
}
.terms-group input[type="checkbox"] {
    width: auto;
    margin-right: 10px;
}
.terms-group label {
    margin-bottom: 0;
    font-weight: 400;
}
.link-button {
    background: none;
    border: none;
    color: #d13a69;
    font-weight: 600;
    cursor: pointer;
    padding: 0;
    font-size: inherit;
    text-decoration: underline;
}

/* Submit Button */
.submit-btn {
    width: 100%;
    padding: 15px;
    background: linear-gradient(45deg, #d13a69, #f06a9a);
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(209, 58, 105, 0.4);
}

/* Instructions Section */
.instructions {
    margin-top: 30px;
    background-color: #fdf8f5;
    padding: 20px;
    border-radius: 8px;
    border-left: 4px solid #d13a69;
}

.instructions h3 {
    margin-top: 0;
    color: #d13a69;
}

.instructions ol {
    padding-left: 20px;
    margin: 0;
    color: #555;
}

.instructions li {
    margin-bottom: 8px;
}

.instructions a {
    color: #d13a69;
    font-weight: 600;
    text-decoration: none;
}

.instructions a:hover {
    text-decoration: underline;
}

/* Fine Print Section */
.fine-print {
    margin-top: 30px;
    text-align: center;
    font-size: 0.85rem;
    color: #999;
}
.fine-print p {
    margin: 0;
}

/* Footer Link */
.footer-link {
    text-align: center;
    padding: 20px;
    font-size: 0.9rem;
}
.footer-link a {
    color: #999;
    text-decoration: none;
}

/* Message Styles */
.message {
    padding: 15px;
    margin-bottom: 20px;
    border-radius: 8px;
    font-weight: 600;
}
.message.success {
    background-color: #e3f9e5;
    color: #2d6a33;
}
.message.error {
    background-color: #fde2e2;
    color: #8c2b2b;
}

/* Modal Styles */
.modal {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 1000; /* Sit on top */
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto; /* Enable scroll if needed */
    background-color: rgba(0,0,0,0.5); /* Black w/ opacity */
    padding-top: 60px;
}
.modal-content {
    background-color: #fefefe;
    margin: 5% auto;
    padding: 30px;
    border: 1px solid #888;
    width: 80%;
    max-width: 600px;
    border-radius: 10px;
    position: relative;
    animation: fadeIn 0.3s;
}
@keyframes fadeIn {
    from {opacity: 0; transform: translateY(-20px);}
    to {opacity: 1; transform: translateY(0);}
}
.modal-content h2 {
    color: #d13a69;
    margin-top: 0;
}
.modal-content p {
    line-height: 1.6;
    margin-bottom: 1em;
}
.close-btn {
    color: #aaa;
    position: absolute;
    top: 15px;
    right: 25px;
    font-size: 28px;
    font-weight: bold;
}
.close-btn:hover,
.close-btn:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}
.message a {
    color: #2d6a33;
    font-weight: bold;
}

/* Responsive Design */
@media (min-width: 768px) {
    /* No specific changes needed, layout is already fluid */
}

@media (max-width: 767px) {
    .form-area {
        padding: 30px;
    }
    .form-area h1 {
        font-size: 1.8rem;
    }
}