/* Global Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Roboto', sans-serif;
}

body {
    background-color: #f0f4f8;
    color: #333;
    font-size: 16px;
    line-height: 1.6;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* Header */
header {
    background-color: #2c3e50;
    color: white;
    padding: 20px;
    text-align: center;
}

header h1 {
    font-size: 2.5rem;
    letter-spacing: 1.5px;
}

nav ul {
    list-style: none;
    display: flex;
    justify-content: center;
    padding: 0;
    margin-top: 10px;
}

nav ul li {
    margin: 0 20px;
}

nav ul li a {
    color: white;
    text-decoration: none;
    font-size: 1.2rem;
    transition: color 0.3s ease;
}

nav ul li a:hover {
    color: #1abc9c;
}

/* Slideshow container */
.slideshow-container {
    position: relative;
    max-width: 100%;
    margin: auto;
    overflow: hidden;
    border-radius: 8px;
}

/* Slides */
.slides {
    display: none;
}

.slides img {
    width: 100%;
    height: auto;
    max-height: 600px;
    object-fit: cover;
    border-radius: 8px;
}

/* Fade animation for slides */
.fade {
    animation-name: fade;
    animation-duration: 1.5s;
}

@keyframes fade {
    from {opacity: .4}
    to {opacity: 1}
}

/* Previous & next buttons */
.prev, .next {
    cursor: pointer;
    position: absolute;
    top: 50%;
    width: auto;
    padding: 16px;
    margin-top: -22px;
    color: white;
    font-weight: bold;
    font-size: 18px;
    transition: 0.6s ease;
    border-radius: 0 3px 3px 0;
    user-select: none;
}

.next {
    right: 0;
    border-radius: 3px 0 0 3px;
}

.prev:hover, .next:hover {
    background-color: rgba(0,0,0,0.8);
}

/* Dots (indicators) */
.dot-container {
    text-align: center;
    padding: 10px;
    background: #f1f1f1;
}

.dot {
    cursor: pointer;
    height: 15px;
    width: 15px;
    margin: 0 2px;
    background-color: #bbb;
    border-radius: 50%;
    display: inline-block;
    transition: background-color 0.6s ease;
}

.active, .dot:hover {
    background-color: #717171;
}

/* Fixed Text Section */
.fixed-text {
    text-align: center;
    padding: 40px 20px;
    background-color: #1abc9c;
    color: white;
    margin-bottom: 30px;
    border-radius: 8px;
}

.fixed-text h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.fixed-text p {
    font-size: 1.2rem;
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.8;
}

/* Dynamic Content Section */
.dynamic-content {
    background-color: white;
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    max-width: 1000px;
    margin: 0 auto 40px;
}

.dynamic-content h2 {
    font-size: 2rem;
    margin-bottom: 20px;
    color: #2c3e50;
}

/* Admin Panel Styles */
header.admin-header {
    background-color: #2c3e50;
    color: white;
    padding: 20px;
    text-align: center;
}

header.admin-header h1 {
    font-size: 2.5rem;
    letter-spacing: 1.5px;
}

header.admin-header nav ul {
    list-style: none;
    display: flex;
    justify-content: center;
    padding: 0;
    margin-top: 10px;
}

header.admin-header nav ul li {
    margin: 0 20px;
}

header.admin-header nav ul li a {
    color: white;
    text-decoration: none;
    font-size: 1.2rem;
    transition: color 0.3s ease;
}

header.admin-header nav ul li a:hover {
    color: #1abc9c;
}

/* Admin Content Styles */
.admin-content {
    background-color: white;
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    max-width: 1000px;
    margin: 40px auto;
}

.admin-content h2 {
    font-size: 1.8rem;
    margin-bottom: 20px;
    border-bottom: 2px solid #1abc9c;
    padding-bottom: 10px;
}

.admin-content textarea, .admin-content input {
    width: 100%;
    padding: 12px;
    margin-top: 10px;
    background: #f1f1f1;
    border: 1px solid #ccc;
    color: #333;
    border-radius: 5px;
    font-size: 1rem;
}

.admin-content button {
    background-color: #1abc9c;
    color: white;
    padding: 12px 20px;
    border: none;
    border-radius: 5px;
    font-size: 1rem;
    cursor: pointer;
    transition: background-color 0.3s ease;
    margin-top: 10px;
    display: inline-flex;
    align-items: center;
}

.admin-content button i {
    margin-right: 8px;
}

.admin-content button:hover {
    background-color: #16a085;
}

/* Table Styles */
.admin-content table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
}

.admin-content table th, .admin-content table td {
    padding: 12px;
    border-bottom: 1px solid #ccc;
    text-align: left;
}

.admin-content .delete-button, .admin-content .export-button, .admin-content .block-button, .admin-content .unblock-button {
    background-color: #e74c3c;
    color: white;
    padding: 8px 16px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.admin-content .block-button {
    background-color: #e74c3c;
}

.admin-content .unblock-button {
    background-color: #2ecc71;
}

.admin-content .block-button:hover, .admin-content .unblock-button:hover {
    background-color: #c0392b;
}

.admin-content .export-button:hover {
    background-color: #16a085;
}

/* Footer */
footer {
    background-color: #2c3e50;
    color: white;
    padding: 20px;
    text-align: center;
    margin-top: auto;
    font-size: 1rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    header h1 {
        font-size: 2rem;
    }

    .slides img {
        max-height: 400px;
    }

    .fixed-text h2 {
        font-size: 2rem;
    }

    .admin-content {
        padding: 20px;
    }
}
/* System Health Monitoring Styles */
.system-health {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.health-item {
    flex: 1 1 calc(33.333% - 20px);
    background-color: #f9f9f9;
    padding: 15px;
    border-radius: 8px;
    text-align: center;
    position: relative;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.health-item i {
    font-size: 2.5em;
    color: #333;
    margin-bottom: 15px;
}

.gauge {
    position: relative;
    width: 100%;
    height: 25px;
    background-color: #e0e0e0;
    border-radius: 15px;
    overflow: hidden;
    margin-bottom: 10px;
}

.gauge-fill {
    height: 100%;
    background-color: #4caf50;
    width: 0;
    transition: width 0.5s ease-in-out;
}

.gauge-text {
    font-weight: bold;
    margin-bottom: 5px;
    display: block;
}

.gauge-value {
    font-size: 1.2em;
    color: #555;
}

@media (max-width: 768px) {
    .health-item {
        flex: 1 1 100%;
    }
}

/* Header Styling */
header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 20px;
    background-color: #ffffff; /* Adjust background color as needed */
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); /* Optional: Adds a subtle shadow */
}

/* Logo Container */
.logo-container {
    flex: 0 0 auto;
}

/* Logo Image */
.logo {
    height: 60px; /* Adjust the height as needed */
    width: auto;
}

/* Header Title */
header h1 {
    flex: 1;
    text-align: center;
    font-size: 1.5em;
    margin: 0;
    color: #333333; /* Adjust text color as needed */

}

/* Navigation Styling */
nav ul {
    list-style: none;
    display: flex;
    gap: 15px;
    margin: 0;
    padding: 0;
}

nav ul li a {
    text-decoration: none;
    color: #333333; /* Adjust text color as needed */
    font-size: 1em;
    display: flex;
    align-items: center;
    gap: 5px;
    transition: color 0.3s ease;
}

nav ul li a:hover {
    color: #007BFF; /* Change to your preferred hover color */
}
