/* Body and Container Styling */
body {
    font-family: 'Poppins', sans-serif;
    background: #ffffff; /* White background */
    margin: 0;
    padding: 0;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #0a290a; /* Dark green text for contrast */
}

.container {
    width: 400px;
    background: #d4edda; /* Light green background */
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.5), 0 0 15px rgba(72, 201, 176, 0.7);
    animation: fadeIn 1s ease-in-out;
}

h2 {
    text-align: center;
    color: #48c9b0; /* Light green for headings */
    margin-bottom: 20px;
    font-size: 26px;
    letter-spacing: 1.5px;
}

/* Form Labels and Inputs */
label {
    display: block;
    font-size: 14px;
    color: #0a290a;
    margin-bottom: 8px;
}

input {
    width: 100%;
    padding: 12px;
    margin-bottom: 20px;
    border: 2px solid #266326;
    background: #ffffff;
    border-radius: 8px;
    font-size: 16px;
    color: #0a290a;
    transition: all 0.3s ease;
}

input:focus {
    border-color: #48c9b0;
    box-shadow: 0 0 8px rgba(72, 201, 176, 0.8);
    outline: none;
}

/* Button Styling */
button {
    width: 100%;
    padding: 14px;
    border: none;
    background: linear-gradient(45deg, #48c9b0, #1d8348);
    color: #fff;
    font-size: 18px;
    font-weight: bold;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease-in-out;
    text-shadow: 0 0 5px rgba(0, 0, 0, 0.3), 0 0 10px rgba(72, 201, 176, 0.6);
}

button:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(72, 201, 176, 0.7);
}

/* Response Box */
#response {
    margin-top: 20px;
    padding: 15px;
    background: rgba(72, 201, 176, 0.1); /* Semi-transparent green box */
    border: 1px solid #48c9b0;
    border-radius: 8px;
    color: #48c9b0;
    font-size: 14px;
    display: none;
    animation: fadeInUp 0.5s ease-in-out;
}

/* Modal Styling */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8); /* Semi-transparent background */
    align-items: center;
    justify-content: center;
    z-index: 1000;
}

.modal-content {
    background: #d4edda; /* Match the container styling */
    color: #0a290a; /* Dark green text for contrast */
    padding: 20px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.modal-content .icon {
    font-size: 40px;
    margin-bottom: 15px;
}

.modal-content .icon.success {
    color: #48c9b0; /* Light green for success */
}

.modal-content .icon.error {
    color: #e74c3c; /* Red for failure */
}

#popupMessage {
    font-size: 18px;
    margin-bottom: 20px;
}

#closePopup {
    padding: 10px 20px;
    background: #48c9b0; /* Match button styling */
    color: #fff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

#closePopup:hover {
    background: #1d8348; /* Darker green for hover */
}
