/* General Styling */
body {
    font-family: Arial, sans-serif;
    background: url('background.jpg') no-repeat center center fixed;
    background-size: cover; /* Ensures full-screen background */
    height: 100%; /* Full height */
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Versatile Container */
.container {
    width: 75%;
    max-width: 750px;
    background: rgba(255, 255, 255, 0.9);
    padding: 40px 20px 20px; /* Top padding increased for logo space */
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.2);
    border-radius: 10px;
    text-align: center;
    position: relative;
}

/* Logo Styling - Positioned on top of the container */
.logo {
    width: 80%; /* Adjust size based on container width */
    max-width: 300px; /* Limit max size */
    display: block;
    margin: 0 auto 20px; /* Margin for space between logo and form */
}

/* Form Styling */
form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

/* Input Fields */
input {
    width: 100%;
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 16px;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
	text-align: center;
}

/* Button */
button {
    background: #28a745;
    color: white;
    border: none;
    padding: 12px;
    font-size: 18px;
    cursor: pointer;
    border-radius: 5px;
    width: 100%;
	margin-top: 20px;
}

button:hover {
    background: #218838;
}

/* Table Styling */
table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
}

table, th, td {
    border: 1px solid #ddd;
}

th {
    background: #007bff;
    color: white;
    padding: 10px;
}

td {
    padding: 10px;
}

/* Success & Error Messages */
	.message {
		padding: 10px;
		border-radius: 5px;
		font-size: 16px;
		width: 80%;
		margin: 20px auto;
		text-align: center;
		width: 75%;
		max-width: 750px;
	}

	.success {
		background: #d4edda;
		color: #155724;
		border: 1px solid #c3e6cb;
	}

	.error {
		background: #f8d7da;
		color: #721c24;
		border: 1px solid #f5c6cb;
	}

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

    .logo {
        width: 100%; /* Full width of the container */
    }
}

.terms{
	padding: 10px;	
    font-size: 12px;
    text-align: left;
	font-weight: bold;
}

/* Pagination Styles */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 20px;
    font-size: 16px;
}

.pagination a {
    text-decoration: none;
    background-color: #007bff;
    color: white;
    padding: 8px 12px;
    margin: 0 5px;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

.pagination a:hover {
    background-color: #0056b3;
}

.pagination span {
    font-weight: bold;
    margin: 0 10px;
}
