/* General Styles */
body {
    font-family: 'Poppins', Arial, sans-serif;
    padding: 0;
    margin: 0;
    background: #808080; /* Set the background to grey */
    color: rgb(44, 62, 80);
}

h1, h2 {
    color: #2c3e50;
    text-align: center;
}

h1 {
    font-size: 2.5em;
    margin-bottom: 0.5em;
}

h2 {
    font-size: 1.8em;
    margin-top: 1.5em;
}

/* Table Styles */
table {
    border-collapse: collapse;
    width: 100%;
    margin-top: 1em;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    overflow: hidden;
}

th, td {
    border: 1px solid #ccc;
    padding: 12px;
    text-align: left;
}

th {
    background-color: rgb(44, 62, 80);
    color: white;
    font-weight: bold;
}

td {
    background-color: #f9f9f9;
}

table tbody tr:hover {
    background-color: #e3f2fd;
}

/* News Section */
.news {
    margin-top: 2em;
    padding: 1em;
    background-color: #f9f9f9;
    border-left: 4px solid #2196F3;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.news ul {
    list-style-type: none;
    padding: 0;
}

.news li {
    margin-bottom: 0.5em;
    font-size: 1.1em;
}

.news li strong {
    color: #2196F3;
}

/* Loading Indicator */
#loading-indicator {
    text-align: center;
    color: #555;
    font-style: italic;
    margin-top: 1em;
}

/* Buttons */
button {
    background-color: #2196F3;
    color: white;
    border: none;
    padding: 10px 20px;
    font-size: 1em;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

button:hover {
    background-color: #1976D2;
}

/* Responsive Design */
@media (max-width: 600px) {
    body {
        padding: 1em;
    }

    h1 {
        font-size: 2em;
    }

    h2 {
        font-size: 1.5em;
    }

    table {
        font-size: 0.9em;
    }
}

/* Container for sidebar and main content */
.container {
    display: flex;
    width: 100%; /* Ensure the container spans the full width */
    min-height: 100vh;
}

/* Sidebar Styles */
.sidebar {
    width: 250px;
    background-color: #2c3e50;
    color: white;
    padding: 1em;
    box-shadow: 2px 0 5px rgba(0, 0, 0, 0.1);
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    overflow-y: auto;
}

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

.sidebar li {
    margin-bottom: 1em;
}

.sidebar a {
    color: white;
    text-decoration: none;
    font-size: 1.1em;
    display: block;
    padding: 0.5em;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

.sidebar a:hover {
    background-color: #34495e;
}

/* Main Content Styles */
.main-content {
    margin-left: 270px; /* Leave space for the sidebar */
    padding: 2em;
    background-color: #f9f9f9;
}

/* Section Spacing */
section {
    margin-bottom: 2em;
}

/* Payment Services Section */
#payment-services {
    margin-top: 2em;
    padding: 1em;
    background-color: #f9f9f9;
    border-left: 4px solid #4CAF50; /* Green border for payment section */
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.payment-links {
    list-style-type: none;
    padding: 0;
}

.payment-links li {
    margin-bottom: 0.5em;
    font-size: 1.1em;
}

.payment-links a {
    color: #4CAF50; /* Green for payment links */
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s ease;
}

.payment-links a:hover {
    color: #388E3C; /* Darker green on hover */
}

/* Style for horizontal rules in payment links */
.payment-links hr {
    border: none;
    border-top: 1px solid #ccc;
    margin: 0.5em 0;
}

/* Top-Right Corner Content */
.top-right-corner {
    position: absolute;
    top: 10px;
    right: 10px;
    background-color: #f9f9f9;
    padding: 10px 15px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    font-size: 0.9em;
    text-align: right;
}

.top-right-corner p {
    margin: 0;
    margin-bottom: 5px;
}

.top-right-corner a {
    color: #2196F3;
    text-decoration: none;
    font-weight: bold;
}

.top-right-corner a:hover {
    text-decoration: underline;
}

/* Top-Left Corner Content */
.top-left-corner {
    position: absolute;
    top: 10px;
    left: 270px; /* Adjusted to avoid overlapping with the sidebar */
    background-color: #f9f9f9;
    padding: 10px 15px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    font-size: 0.9em;
    text-align: left;
}

.top-left-corner p {
    margin: 0;
    margin-bottom: 5px;
}

.top-left-corner a {
    color: #2196F3;
    text-decoration: none;
    font-weight: bold;
}

.top-left-corner a:hover {
    text-decoration: underline;
}

/* Responsive Design */
@media (max-width: 768px) {
    /* Adjust sidebar for smaller screens */
    .sidebar {
        width: 100%;
        height: auto;
        position: relative;
    }

    .main-content {
        margin-left: 0;
        padding: 1em;
    }

    .top-left-corner,
    .top-right-corner {
        position: static;
        margin-bottom: 1em;
        text-align: center;
    }

    h1 {
        font-size: 1.8em;
    }

    h2 {
        font-size: 1.5em;
    }

    table {
        font-size: 0.9em;
    }

    .payment-links li {
        font-size: 1em;
    }
}

@media (max-width: 480px) {
    /* Further adjustments for very small screens */
    h1 {
        font-size: 1.5em;
    }

    h2 {
        font-size: 1.2em;
    }

    .sidebar a {
        font-size: 1em;
    }

    .payment-links li {
        font-size: 0.9em;
    }
}