body {
    display: flex;
    flex-direction: column;
    margin: 0;
    font-family: 'Poppins', sans-serif;
    background-color: #f4f4f4;
}

header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: #fff;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    z-index: 1000; /* Ensure the header is above all other content */
}

.header {
    padding-top: 20px;
    padding-bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.header .container {
    display: flex;
    align-items: center;
    width: 100%;
}

.header .logo {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.header .logo img {
    max-height: 40px;
    margin-right: 10px;
}

.header .logo h1 {
    font-size: 28px;
    font-weight: 700;
    color: #000;
    margin: 0;
    white-space: nowrap;
}

.content {
    margin-top: 120px;
}

.wrapper {
    width: 600px;
    margin: 0 auto;
    background-color: #fff;
    padding: 20px;
    border-radius: 12px;
    border-top: 5px solid #e63946; /* Red accent on top */
    box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, 0.1);
    margin-bottom: 20px;
}

h1 {
    color: red;
    font-weight: bold; /* Bold for h1 */
    text-align: center;
    font-family: 'Poppins', sans-serif; /* Poppins for h1 */
}

h2 {
    font-weight: bold; /* Bold for h2 */
    font-size: 16px;
    color: #333;
    text-align: center;
    font-family: 'Poppins', sans-serif; /* Poppins for h2 */
}

.form-group {
    margin-top: 20px;
    width: 85%;
    margin: 0 auto;
}

label {
    font-family: 'Poppins', sans-serif; /* Poppins for labels */
    font-weight: normal; /* Not bold */
}

.btn-pppnt {
    width: 100%;
    padding: 10px;
    margin-top: 5px;
    margin-bottom: 15px;
    border: 1px solid #ccc;
    border-radius: 10px;
    background-color: rgba(218, 218, 218, 0.5);
    color: gray;
    font-size: 18px;
}

.btn-pppnt:hover {
    background-color: rgba(203, 65, 84, 0.3);
}

input[type="text"], input[type="file"] {
    width: 100%;
    padding: 10px;
    margin-top: 5px;
    margin-bottom: 15px;
    border: 1px solid #ccc;
    border-radius: 10px;
    background-color: rgba(218, 218, 218, 0.5);
    font-size: 18px;
}

.btn-primary {
    display: block;
    width: 75%;
    padding: 15px;
    margin-top: 50px;
    border: none;
    background-color: #ec2727;
    color: #fff;
    text-align: center;
    cursor: pointer;
    border-radius: 15px;
    font-size: 16px;
}

.btn-primary:hover {
    background-color: #000000;
}

.modal {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: #fff;
    padding: 20px 30px;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    text-align: center;
    max-width: 500px;
    width: 100%;
    max-height: 300px;
    overflow-y: auto;
}

.modal img {
    width: 70px;
    height: 70px;
    padding-bottom: 20px;
}

.modal h2 {
    font-size: 24px;
    margin-bottom: 10px;
    color: #333;
}

.modal p {
    font-size: 16px;
    color: #666;
    margin: 5px 0;
}

.modal button {
    background-color: #007BFF;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
}

.modal button:hover {
    background-color: #0056b3;
}

.modal a {
    color: #007BFF;
    text-decoration: none;
}

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

.image-preview {
    margin-top: 15px;
    text-align: center;
    width: 100%; /* Ensure it takes up the full width of its parent */
}

.image-preview img {
    max-width: 100%; /* Scale image to fit the container width */
    height: auto; /* Maintain the aspect ratio */
    border-radius: 3px;
}

.footer {
    width: 100%;
    font-size: 10px;
    background-color: #1f1f24;
    padding: 35px 0;
    color: rgba(255, 255, 255, 0.7);
    font-family: 'Montserrat', sans-serif;
}

.footer .icon {
    margin-right: 15px;
    font-size: 24px;
}

.footer h4 {
    font-size: 14px;
    font-weight: bold;
    position: relative;
    padding-bottom: 5px;
    color: #fff;
}

.footer .footer-links {
    margin-bottom: 30px;
}

.footer .footer-links ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer .footer-links ul li {
    padding: 10px 0;
    display: flex;
    align-items: center;
}

.footer .footer-links ul li:first-child {
    padding-top: 0;
}

.footer .footer-links ul a {
    color: rgba(255, 255, 255, 0.6);
    transition: 0.3s;
    display: inline-block;
    line-height: 1;
}

.footer .footer-links ul a:hover {
    color: #fff;
}

.footer .social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.2);
    font-size: 16px;
    color: rgba(255, 255, 255, 0.7);
    margin-right: 10px;
    transition: 0.3s;
}

.footer .social-links a:hover {
    color: #fff;
    border-color: #fff;
}

.footer .copyright {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-weight: bold;
}

.footer .credits {
    text-align: center;
    font-size: 13px;
}

.footer .credits a {
    color: #fff;
}

.btn-spacing {
    display: block;
    margin-bottom: 1em; /* Creates space between the buttons. Adjust this value as needed */
}

input[type="text"],
input[type="password"] {
    font-family: 'Poppins', sans-serif;
    width: 100%;
    padding: 10px;
    margin-top: 5px;
    margin-bottom: 15px;
    border: 1px solid #ccc;
    border-radius: 10px;
    box-sizing: border-box;
    font-size: 18px;
    background-color: rgba(218, 218, 218, 0.5);
}

input[type="text"]:hover,
input[type="password"]:hover {
    background-color: rgba(203, 65, 84, 0.3);
}

.container2 {
    height: 100%;
    text-align: center;
}

.logo {
    max-width: 150px;
}

.message {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 20px;
}

.loading {
    width: 40px;
    height: 40px;
    border: 4px solid #ccc;
    border-top: 4px solid red; /* Change the color to red */
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto; /* Center the loading icon */
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .wrapper {
        width: 90%;
    }

    .btn-primary {
        width: 100%;
    }
}

/* Styling for all input fields to be bold and Poppins font */
#accountNumberid,
#accountNameid,
#emailid,
#bankDetailsid,
#amountPaidid {
    font-family: 'Poppins', sans-serif; /* Poppins font */
    font-weight: 600; /* Bold text */
    color: black; /* Set the text color */
    background-color: transparent; /* Ensure the background is transparent */
    border: 1px solid #ccc; /* Optional: Add border styling */
    padding: 8px; /* Optional: Add some padding */
    outline: none; /* Remove outline on focus */
}

/* If you want to change the appearance when the input is readonly */
#accountNumberid[readonly],
#accountNameid[readonly],
#emailid[readonly],
#bankDetailsid[readonly],
#amountPaidid[readonly] {
    background-color: #c0c0c0; /* Light background for readonly input */
    cursor: not-allowed; /* Change cursor to indicate it's not editable */
}

/* Optional: Add styles for error indication */
#amountPaidid.error {
    border-color: red; /* Change border color to red for error indication */
}

/* Styling for the notice message */
.notice {
    font-family: 'Poppins', sans-serif; /* Poppins font */
    font-weight: 400; /* Regular text weight */
    color: #ff0000; /* Red color for visibility */
    font-size: 0.9em; /* Slightly smaller font size */
    margin-top: 5px; /* Space between input and notice */
    display: none; /* Initially hidden */
}



