@font-face {
    font-family: 'Instrument'; 
    src: url('../font/font.ttf') format('truetype'); 
    font-weight: normal; 
    font-style: normal;  
}

@font-face {
    font-family: 'Instrument'; 
    src: url('../font/fontb.ttf') format('truetype'); 
    font-weight: bold; 
    font-style: normal;  
}

body {
    font-family: 'Instrument', Arial, sans-serif;
    margin: 0;
    padding: 0;
    padding-top: 80px;
}

header {
    background: linear-gradient(to right, #292929, #003438);
    color: white;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px;
    position: fixed; 
    top: 0; 
    left: 0; 
    width: 100%;
    z-index: 1000;
}

.logo {
    font-size: 2em;
    font-weight: bold;
}

.logo img {
    max-height: 25px; 
    width: auto; 
    object-fit: contain; 
}

nav ul {
    list-style: none;
    display: flex;
    gap: 20px;
    padding-right: 50px;
}

nav ul li a {
    color: white;
    text-decoration: none;
    transition: color 0.3s ease; 
    display: flex; /* Add flex to align items */
    align-items: center; /* Center items vertically */
}

nav ul li a.selected {
    font-weight: bold; 
}

nav ul li a:hover {
    color: grey; 
}

nav ul li.nav-profile a {
    display: flex; /* Use flexbox for alignment */
    align-items: flex-start; /* Align items to the top */
}

nav ul li.nav-profile img {
    width: 15px; /* Adjust width as needed */
    height: 15px; /* Adjust height as needed */
    margin-right: 5px; /* Space between image and text */
    border-radius: 50%; /* Make the image circular */
    border: 1px solid white; /* White outline */
    padding: 2px; /* Space between image and border */
    background-color: transparent; /* Optional: Background color of the circle */
}

main {
    margin-inline: 10%;
}

/* welcome.php */
.headerw {
    display: flex;
    justify-content: center;
    align-items: center;
}

.headerw img {
    margin-top: 20px;
    max-height: 25px; 
    width: auto; 
    object-fit: contain; 
}

.welcome-container img {
    height: 40px;
    width: auto;
    margin-bottom: 1px;
}

.hero {
    background: url('../img/login.jpg') no-repeat center center/cover;
    color: #fff;
    text-align: center;
    padding: 100px 0;
    position: relative;
    font-size: 20px;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5); 
    z-index: 1; 
}

.hero h2, .hero p, #features {
    position: relative; 
    z-index: 2; 
}

.hero h2 {
    font-size: 2.5em;
    margin-bottom: 20px;
}

.hero p {
    font-size: 1.2em;
    margin-bottom: 20px;
}

.cta-button {
    background: #fff;
    color: #333;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    transition: background 0.3s;
}

.cta-button:hover {
    background: #ddd;
}

.features {
    background: #fff;
    padding: 20px 0;
    text-align: center;
}

.feature-cards {
    display: flex;
    gap: 20px;
    justify-content: space-evenly;
    width: 80%;
    margin: 0 auto;
}
.feature-card {
    background: #f9f9f9;
    border-radius: 10px;
    padding: 20px;
    margin: 20px 0;
    width: calc(25% - 40px);
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: transform 0.3s ease;
}

.feature-card img {
    max-width: 100%; 
    height: 50%; 
    border-radius: 20px;
    margin-top: 20px;
    margin-bottom: 20px;
    object-fit: cover; 
}

.feature-card:hover {
    transform: scale(1.1);
}

.feature-card h3 {
    margin-bottom: 10px;
}

.about-us {
    background: #f9f9f9;
    padding: 20px 0;
    text-align: center;
    width: 80%;
    margin: 0 auto;
}

.about-us img {
    width: 600px;
    height: 200px;
    border-radius: 20px;
    margin-top: 20px;
    margin-bottom: 20px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.about-us img:hover {
    transform: scale(1.1);
}


.about-container p {
    width: 50%;
    margin: 0 auto;
    font-size: 20px;
}

.testimonials {
    background: #fff;
    padding: 20px 0;
    text-align: center;
    width: 80%;
    margin: 0 auto;
    display: flex;
    gap: 20px;
    justify-content: space-evenly;
    width: 80%;
    margin: 0 auto;
    margin-bottom: 20px;
}

.testimonial-cards {
    display: flex;
    gap: 20px;
    justify-content: space-evenly;
    width: 80%;
    margin: 0 auto;
}

.testimonial-card {
    background: #f9f9f9;
    border-radius: 10px;
    padding: 20px;
    width: calc(33.33% - 40px);
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.testimonial-card p {
    margin-top: 10px;
    margin-bottom: 10px;
}

.testimonial-card cite {
    font-style: normal;
    color: #555;
}

.contact {
    background: #f9f9f9;
    padding: 20px 0;
    text-align: center;
    font-family: 'Instrument';
}

.contact form {
    display: flex;
    flex-direction: column;
    max-width: 500px;
    margin: 0 auto;
    font-family: 'Instrument';
}

.contact input,
.contact textarea {
    margin: 10px 0;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-family: 'Instrument';
}

.contact button {
    background: #333;
    color: #fff;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    transition: background 0.3s;
}

.contact button:hover {
    background: #555;
}

/* index.php */
.welcome {
    background-color: #fff;
    padding: 15px;
    margin-top: 20px;
    margin-bottom: 20px;
    border-radius: 15px;
    display: flex;
    justify-content: space-between;
    box-shadow: 0px 0px 10px 1px rgba(0, 0, 0, 0.25);
}

.welcome .status-box {
    background-color: #f9f9f9;
    border-radius: 5px;
    flex: 1;
    margin: 0 10px;
    text-align: center;
}

.highlight {
    color: #e74c3c;
    font-weight: bold;
    font-size: larger;
    text-decoration: underline;
}

.actions {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 20px;
    width: 100%;
}

.actions button {
    background-color: #0060F0;
    color: #fff;
    border: none;
    padding: 15px 20px; 
    border-radius: 10px;
    flex: 1; 
    max-width: 100%; 
    box-sizing: border-box; 
    font-size: 20px; 
    font-family: 'Instrument';
}

.actions button:hover {
    background-color: #0048B4;
    transition: background-color 0.3s, transform 0.2s;
}

.announcements, .available-rooms {
    background-color: #fff;
    padding: 20px;
    margin-bottom: 20px;
    border-radius: 15px;
    font-size: larger;
    box-shadow: 0px 0px 10px 1px rgba(0, 0, 0, 0.25);
    
}

.announcements h3, .available-rooms h3 {
    margin-top: 0;
}

ul {
    list-style-type: disc; 
    padding-left: 20px; 
}

ul li {
    padding: 5px 0;
}
.available-rooms {
    background-color: #fff;
    padding: 20px;
    margin-bottom: 20px;
    border-radius: 15px;
    font-size: larger;
}

.available-rooms h3 {
    margin-top: 0;
    margin-bottom: 20px;
}

.room-list {
    display: flex;
    justify-content: center; 
    gap: 20px; 
    margin: 0 auto; 
    gap: 8%;
    font-size: 16px;
}

.room-item {
    text-align: center;
    max-width: 30%; 
    flex: 0 0 auto; 
}

.image-container {
    position: relative;
    width: 100%;
    padding-bottom: 100%; 
    overflow: hidden;
    border-radius: 15px;
    margin-bottom: 10px;
}

.image-container img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover; 
}

.room-item h4 {
    margin: 0;
    font-size: 1.5em;
}

.room-item p {
    margin: 10px 0;
    font-size: 1.2em;
}

.room-item button {
    background-color: #27ae60;
    color: #fff;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    font-size: 1em;
    cursor: pointer;
    transition: background-color 0.3s ease;
    font-family: 'Instrument';
}

.room-item button:hover {
    background-color: #2ecc71;
}


/* login.php */
.login-page {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('../img/login.jpg') no-repeat center center fixed;
    background-size:inherit;
    display: flex;
    justify-content: center;
    align-items: center;
}

.login-page h2 {
    margin-top: 0px;
}

.login-container {
    background-color: rgba(255, 255, 255, 0.9);
    text-align: center;
    padding: 20px;
    border-radius: 15px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    height: 90%;
}

.login-container img {
    margin-top: 20px;
    margin-bottom: 20px;
    width: 400px;
    padding: 20px;
}


h1 {
    font-size: 30px;
    margin-bottom: 20px;
}

h2 {
    font-size: 2em;
    margin-bottom: 10px;
}

input[type="text"], input[type="password"] {
    width: 300px;
    padding: 10px;
    margin: 5px 0;
    border: 1px solid #ccc;
    border-radius: 5px;
}

button {
    width: 300px;
    padding: 10px;
    border: none;
    border-radius: 5px;
    background-color: #000;
    color: white;
    cursor: pointer;
}

button:hover {
    background-color: #333;
}

.social-login .social-btn {
    width: 48%;
    margin: 5px 1%;
    background-color: #fff;
    color: #000;
    border: 1px solid #ccc;
}

.social-login .social-btn img {
    vertical-align: middle;
    margin-right: 5px;
}

.forgot-links {
    display: flex;                /* Use flexbox for layout */
    justify-content:space-evenly; /* Space between links */
    gap: 10px;                   /* Adjust this value to lessen the gap */
}

.forgot-links a {
    color: #000;
    text-decoration: none;
}

.forgot-links a:hover {
    text-decoration: underline;
}

/* payments.php */
.rent-details {
    gap: 10px;
    background-color: #fff;
    padding: 1px 20px 20px 20px;
    margin-bottom: 20px;
    border-radius: 15px;
    padding-top: 20px;
    font-size: larger;
    box-shadow: 0px 0px 10px 1px rgba(0, 0, 0, 0.25);
    display: grid;
    grid-template-columns: repeat(2, 1fr); 
    grid-template-rows: repeat(2, auto);  
}

.detail-item {
    background-color: #eaeaea;
    padding: 10px 20px;
    border-radius: 10px;
    font-size: 18px;
    font-weight: 500;
    display: flex;
    align-items: center;
    white-space: nowrap;
  }

  .detail-item b {
    font-weight: bold;
    margin-right: 5px;
  }

.payment-methods {
    gap: 10px;
    background-color: #fff;
    padding: 1px 20px 20px 20px;
    margin-bottom: 20px;
    border-radius: 15px;
    font-size: larger;
    box-shadow: 0px 0px 10px 1px rgba(0, 0, 0, 0.25);
}

.payment-btn {
    background-color: #0060F0;
    color: #fff;
    border: none;
    padding: 15px 20px;
    border-radius: 10px;
    font-size: 1em;
    cursor: pointer;
    transition: background-color 0.3s ease;
    font-family: 'Instrument';
}

.buttons-container {
    display: flex;
    justify-content: center; 
    gap: 10px; 
    width: 80%; 
    margin: 0 auto; 
}

.payment-btn {
    flex: 1; 
    min-width: 0; 
    background-color: #007DFE;
    color: #fff;
    border: none;
    padding: 15px 20px;
    border-radius: 10px;
    font-size: 1em;
    cursor: pointer;
    transition: background-color 0.3s ease;
    font-family: 'Instrument';
    font-weight: bold;
}

.payment-btn:hover {
    background-color: #0067D1;
}

.payment-btn.maya {
    background-color: #01B463;
}

.payment-btn.maya:hover {
    background-color: #009B55;
}

.payment-btn.card {
    background-color: #a0a0a0;
}

.payment-btn.card:hover {
    background-color: #616161;
}

.download-pdf-btn {
    background-color: #000; /* Black background */
    color: #fff; /* White text */
    border: none;
    padding: 15px 20px;
    border-radius: 10px;
    font-size: 1em;
    cursor: pointer;
    transition: background-color 0.3s ease;
    font-family: 'Instrument'; /* Use the same font family */
    font-weight: bold; /* Bold text */
}

/* Optional: Add hover effect */
.download-pdf-btn:hover {
    background-color: #333; /* Darker shade of black on hover */
}

.payment-history {
    gap: 10px;
    background-color: #fff;
    padding: 1px 20px 20px 20px;
    margin-bottom: 20px;
    margin-top: 20px;
    border-radius: 15px;
    font-size: larger;
    box-shadow: 0px 0px 10px 1px rgba(0, 0, 0, 0.25);
}

.payment-history table {
    width: 100%;
    border-collapse: collapse;
}

.payment-history th,
.payment-history td {
    padding: 10px;
    text-align: left;
    border-bottom: 1px solid #ddd;
}

.payment-history th {
    background-color: #f2f2f2;
}

.payment-chart {
    gap: 10px;
    background-color: #fff;
    padding: 20px;
    margin-bottom: 20px;
    border-radius: 15px;
    font-size: larger;
    box-shadow: 0px 0px 10px 1px rgba(0, 0, 0, 0.25);
    display: flex; 
    flex-direction: column; 
    align-items: center; 
}

.payment-chart canvas {
    max-width: 600px; 
    height: auto; 
    border-radius: 10px;
    box-shadow: 0px 0px 5px 1px rgba(0, 0, 0, 0.1);
}

.payment-chart h3 {
    margin-top: 0;
    margin-bottom: 15px;
    text-align: left;
    font-size: 1.5em;
    font-weight: bold;
    color: #333;
}

table {
    border-collapse: collapse;
    width: 100%;
  }

  th, td {
    padding: 8px;
    text-align: left;
    border-bottom: 1px solid #ddd;
  }

  th {
    cursor: pointer;
    position: relative;
    padding-right: 25px; /* Make space for arrow */
  }

  .arrow-up, .arrow-down {
    position: absolute;
    right: 5px;
    top: 50%;
    transform: translateY(-50%);
    width: 0;
    height: 0;
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
  }

  .arrow-up {
    border-bottom: 10px solid black;
  }

  .arrow-down {
    border-top: 10px solid black;
  }

#paymentChart {
    height: 300px !important;
}

.download-pdf-btn {
    margin-top: 10px;
    padding: 10px 15px;
    background-color: #000;
    color: white;
    border: none;
    cursor: pointer;
    display: inline-block;
}

.download-pdf-btn:hover {
    background-color: #0056b3;
}

/* Sorting Arrows */
.sort-arrow {
    display: inline-block;
    width: 0;
    height: 0;
    margin-left: 5px;
    vertical-align: middle;
    cursor: pointer;
}

.sort-arrow.asc {
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-bottom: 8px solid black;
}

.sort-arrow.desc {
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-top: 8px solid black;
}

/* complaints.php */
.complaint-form {
    background-color: #fff;
    padding: 20px 20px 20px 20px;
    margin-top: 20px;
    margin-bottom: 20px;
    border-radius: 15px;
    font-size: larger;
    box-shadow: 0px 0px 10px 1px rgba(0, 0, 0, 0.25);
}

.form-group {
    margin-bottom: 15px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 98%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 16px;
    font-family: 'Instrument';
}

.form-group textarea {
    height: 100px;
    resize: vertical;
}

.form-group button {
    background-color: #0060F0;
    color: #fff;
    border: none;
    padding: 15px 20px;
    border-radius: 10px;
    font-size: 1em;
    cursor: pointer;
    transition: background-color 0.3s ease;
    font-family: 'Instrument';
    width: 100%;
}

.form-group button:hover {
    background-color: #0048B4;
}

.submit-button {
    background-color: #616161;
    border: none;
    color: white;
    padding: 15px 32px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 16px;
    margin: 4px 2px;
    cursor: pointer;
    border-radius: 8px;
    transition: background-color 0.3s, transform 0.2s;
}

.submit-button:hover {
    background-color: #003438;
}

.sort-arrow {
    display: inline-block;
    width: 0;
    height: 0;
    margin-left: 5px;
    vertical-align: middle;
    cursor: pointer;
}

.sort-arrow.asc {
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-bottom: 8px solid black;
}

.sort-arrow.desc {
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-top: 8px solid black;
}

.success-message {
    margin-top: 20px;
    padding: 10px;
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
    border-radius: 15px;
}

/* chat.php */
.chat-container {
    background-color: #fff;
    padding: 20px 20px 20px 20px;
    border-radius: 15px;
    font-size: large;
    box-shadow: 0px 0px 10px 1px rgba(0, 0, 0, 0.25);
    width: 60%;
    margin: 0 auto;
    margin-top: 20px;
    margin-bottom: 20px;
}

.chat-container h2 {
    text-align: center;
    margin-bottom: 20px;
}

.chat-box {
    height: 500px;
    overflow-y: auto;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 10px;
    margin-bottom: 20px;
}

.message {
    display: flex;
    margin: 10px 0;
}

.message.left {
    align-items: flex-start;
}

.message.right {
    justify-content: flex-end;
    align-items: flex-end;
    margin-bottom: 20px;

}

.avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    margin-right: 10px;
}

.bubble {
    max-width: 70%;
    padding: 10px;
    border-radius: 20px;
    background-color: #f0f0f0;
    position: relative;
}

.message.left .bubble {
    background-color: #e0e0e0;
}

.message.right .bubble {
    background-color: #027cff;
    margin-right: 10px;
    color: white

}

.input-box {
    display: flex;
    align-items: center;
    border: 1px solid #ddd;
    border-radius: 10px;
    padding: 10px;
}

.input-box input {
    flex: 1;
    padding: 10px;
    border: none;
    border-radius: 10px;
    font-size: 16px;
}

.input-box button {
    background-color: transparent;
    border: none;
    cursor: pointer;
    margin-left: 90px;
}

.input-box img {
    width: 20px;
    height: 20px;
}


/* notif.php */
.admin-header {
    background: #000;
    color: white;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px;
    position: fixed; 
    top: 0; 
    left: 0; 
    width: 100%;
    z-index: 1000;
}

.notifications {
    margin: 0 auto;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    padding: 20px 20px 20px 20px;
    margin-bottom: 20px;
}

.notifications h2 {
    text-align: center;
    color: #333;
    margin-bottom: 20px;
}

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

.notifications li {
    padding: 10px 0;
    border-bottom: 1px solid #ddd;
    font-size: 16px;
    color: #555;
}

.notifications li:last-child {
    border-bottom: none;
}


/* profile.php */
.profile {
    max-width: 600px;
    width: 100%;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    padding: 1px 20px 20px 20px;
    text-align: center;
    margin: 0 auto;
    color: #000000;
}

.profile h2 {
    margin-bottom: 20px;
}

.profile-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.profile-image img {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
}

.profile-details {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 60%;
}

.detail {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.detail label {
    font-weight: bold;
}

.detail span {
    font-size: 16px;
}

.edit-profile {
    background: #555;
    color: #fff;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
}

.edit-profile:hover {
    background: #333;
}

.additional-info {
    display: flex;
    justify-content: space-around;
    margin: 20px 0;
}

.info-box {
    background: #f9f9f9;
    border-radius: 10px;
    padding: 20px;
    text-align: center;
    width: 30%;
}

.info-box h3 {
    margin: 0 0 10px;
    color: #000000;
}

.info-box p {
    font-size: 18px;
    color: #000000;
}

.recent-activity {
    margin-top: 20px;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    padding: 1px 20px 20px 20px;
    margin-bottom: 20px;
}

.recent-activity h2 {
    margin-bottom: 10px;
}

.recent-activity table {
    width: 100%;
    border-collapse: collapse;
}

.recent-activity th,
.recent-activity td {
    padding: 10px;
    text-align: left;
    border-bottom: 1px solid #ddd;
}

.recent-activity th {
    background: #f2f2f2;
    font-weight: bold;
}

.footer {
    background: #333;
    color: #fff;
    text-align: center;
    padding: 5px 0;
    margin-top: auto;
}

.footer-content {
    max-width: 800px;
    margin: 0 auto;
}

.footer p {
    margin-bottom: 10px;
}

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

.footer-links li {
    display: inline;
    margin: 0 10px;
}

.footer-links a {
    color: #fff;
    text-decoration: none;
    transition: color 0.3s;
}

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

.error-message {
    font-size: 20px;
    color: red;
    font-weight: bold;
}

/* ADMIN */
/* Admin Dashboard Specific Styles */
.ad-welcome {
    background-color: #fff;
    padding: 15px;
    margin-top: 20px;
    margin-bottom: 20px;
    border-radius: 15px;
    display: flex;
    justify-content: space-between;
    box-shadow: 0px 0px 10px 1px rgba(0, 0, 0, 0.25);
}

.stat-box {
    background-color: #f9f9f9;
    border-radius: 15px;
    flex: 1;
    margin: 0 10px;
    text-align: center;
}

.stat-box.warning {
    background-color: #fff2e6;
    color: #d63301;
}

.stat-box h3 {
    font-size: 1.2em;
    margin-bottom: 10px;
}

.stat-box p {
    font-size: 2em;
    font-weight: bold;
}

.ad-actions {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 20px;
    width: 100%;
}

.ad-actions button {
    background-color: #000000;
    color: #fff;
    border: none;
    padding: 15px 20px; 
    border-radius: 10px;
    flex: 1; 
    max-width: 100%; 
    box-sizing: border-box; 
    font-size: 20px; 
    font-family: 'Instrument';
}

.ad-actions button:hover {
    background-color:rgb(69, 69, 69);
    transition: background-color 0.3s, transform 0.2s;
}

.recent-activity {
    background-color: #fff;
    padding: 20px;
    border-radius: 15px;
    box-shadow: 0px 0px 10px 1px rgba(0, 0, 0, 0.25);
    margin-bottom: 30px;
}

.recent-activity h2 {
    margin-top: 0;
    margin-bottom: 15px;
}

.recent-activity table {
    width: 100%;
    border-collapse: collapse;
    font-size: 1em;
}

.recent-activity th,
.recent-activity td {
    padding: 10px;
    border-bottom: 1px solid #ddd;
    text-align: left;
}

.recent-activity th {
    background-color: #f2f2f2;
}

.announcements ul {
    list-style-type: disc;
    padding-left: 20px;
    margin-top: 10px;
}

.announcements button {
    margin-top: 15px;
    background-color: #34495e;
    color: white;
    border: none;
    padding: 10px 15px;
    border-radius: 5px;
    cursor: pointer;
    font-family: 'Instrument';
}

.announcements button:hover {
    background-color: #2c3e50;
}

/*Admin Login*/
.ad-login-page {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('../img/login.jpg') no-repeat center center fixed;
    background-size:inherit;
    display: flex;
    justify-content: center;
    align-items: center;
}

.ad-login-page h2 {
    margin-top: 0px;
}

.ad-login-container {
    background-color: rgba(255, 255, 255, 0.9);
    text-align: center;
    padding: 20px;
    border-radius: 15px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    height: 90%;
}

.ad-login-container img {
    margin-top: 20px;
    margin-bottom: 20px;
    width: 400px;
    padding: 20px;
}


h1 {
    font-size: 30px;
    margin-bottom: 20px;
}

h2 {
    font-size: 2em;
    margin-bottom: 10px;
}

input[type="text"], input[type="password"] {
    width: 300px;
    padding: 10px;
    margin: 5px 0;
    border: 1px solid #ccc;
    border-radius: 5px;
}

button {
    width: 300px;
    padding: 10px;
    border: none;
    border-radius: 5px;
    background-color: #000;
    color: white;
    cursor: pointer;
}

button:hover {
    background-color: #333;
}

.social-login .social-btn {
    width: 48%;
    margin: 5px 1%;
    background-color: #fff;
    color: #000;
    border: 1px solid #ccc;
}

.social-login .social-btn img {
    vertical-align: middle;
    margin-right: 5px;
}

.forgot-links {
    display: flex;                /* Use flexbox for layout */
    justify-content:space-evenly; /* Space between links */
    gap: 10px;                   /* Adjust this value to lessen the gap */
}

.forgot-links a {
    color: #000;
    text-decoration: none;
}

.forgot-links a:hover {
    text-decoration: underline;
}


/* Admin Tables */
.ad-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
    font-family: 'Instrument', sans-serif;
    font-size: 1em;
    background-color: #fff;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0px 0px 10px 1px rgba(0, 0, 0, 0.25);

}

.ad-table th, .ad-table td {
    padding: 12px 15px;
    border-bottom: 1px solid #ddd;
}

.ad-table th {
    background-color: #f2f2f2;
    font-weight: bold;
    color: #333;
}

.ad-table tr:hover {
    background-color: #f9f9f9;
}

.ad-table .actions {
    white-space: nowrap;
}

.ad-table .actions a {
    margin-right: 10px;
    text-decoration: none;
    color: #0060F0;
    font-size: 0.95em;
    transition: color 0.3s ease;
}

.ad-table .actions a:hover {
    color: #0048B4;
    text-decoration: underline;
}

/* Status Badges or Highlighted Cells */
.status-due {
    color: red;
    font-weight: bold;
}

.status-ok {
    color: green;
}

/* Responsive Fix */
@media (max-width: 768px) {
    .ad-table {
        display: block;
        overflow-x: auto;
    }
}
