/* General Styles */
html, body {
    height: 100%;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    font-family: 'Lato', sans-serif;
    background-color: #f4f4f9;
}

.main-content {
    flex: 1;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.logo {
    width: 100%;
    text-align: center;
    margin-top: 20px;
}

.logo img {
    width: 200px;
}

td.ip-address {
    font-size: 10px !important;
    word-break: break-all !important;
    overflow-wrap: break-word !important;
}

.board {
    max-width: 1400px;
    background-color: #fff;
    border: 2px solid #89b0cd;
    border-radius: 10px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    margin: 20px;
}

.logs-table {
            width: 100%;
            border-collapse: collapse;
            font-size: 12px;
        }
        
        .logs-table th, .logs-table td {
            padding: 10px;
            text-align: left;
            border: 1px solid #ddd;
        }

        .logs-table th {
            background-color: #f4f4f4;
        }

        .logs-table td.log-id, .logs-table td.user-id {
            width: 5%; /* Make the Log ID and User ID columns smaller */
        }

        .logs-table td.description {
            width: 40%; /* Expand the description column */
        }

        .logs-table tr.success {
            background-color: #d4edda; /* Green background for success */
        }

        .logs-table tr.failure {
            background-color: #f8d7da; /* Red background for failure */
        }

        .pagination {
            margin-top: 20px;
            text-align: center;
        }

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

        .pagination ul li {
            display: inline;
            margin: 0 5px;
        }

        .pagination ul li a {
            text-decoration: none;
            color: #007BFF;
        }

        .pagination ul li a:hover {
            text-decoration: underline;
        }

.board-header {
    width: 100%;
    background-color: #8ed1fc;
    color: #fff;
    padding: 20px;
    text-align: center;
    font-size: 24px;
    position: relative;
}

/* Icons */
.graph-icon, .menu-icon {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    font-size: 24px;
    color: #007BFF;
}

.graph-icon, .menu-add {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    font-size: 24px;
    color: #007BFF;
}

.graph-icon:hover, .menu-icon:hover {
    color: #0056b3;
}

.graph-icon {
    left: 40px;
}

.menu-icon {
    right: 40px;
}

.menu-add {
    right: 70px;
}

/* Login Form */
.login-form {
    padding: 20px;
    width: 100%;
}

.login-form input {
    width: 100%;
    padding: 10px;
    margin: 10px 0;
    border: 1px solid #ddd;
    border-radius: 5px;
}

.login-form button {
    width: 100%;
    padding: 10px;
    background-color: #007BFF;
    color: white;
    border: none;
    cursor: pointer;
}

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

.error-message {
    color: red;
    font-size: 14px;
    margin-bottom: 10px;
}

/* Analytics Overview */
.analytics-overview {
    display: none;
    justify-content: space-around;
    width: 100%;
    padding: 20px;
    background-color: #f9f9f9;
}

.analytics-overview .metric {
    text-align: center;
    font-size: 18px;
}

.analytics-overview .metric h3 {
    font-size: 36px;
    color: #007BFF;
    margin: 0;
}

/* Calendar Navigation */
.calendar-navigation {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 10px 20px;
    background-color: #f9f9f9;
    width: 100%;
}

.calendar-navigation button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    padding: 10px 20px;
    background-color: transparent;
    color: #007BFF;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    font-size: 16px;
    transition: all 0.3s ease;
}

button:first-of-type {
    left: 10px;
}

button:last-of-type {
    right: 10px;
}

.calendar-navigation h2 {
    font-size: 20px;
    color: #6c757d;
    margin: 0;
}

.calendar-navigation button:hover {
    background-color: #007BFF;
    color: white;
}

/* Tasks */
.tasks {
    width: 100%;
    padding: 20px;
    padding-bottom: 40px;
    box-sizing: border-box;
}

.tasks table {
    width: 100%;
    border-collapse: collapse;
    table-layout: fixed;
}

.tasks th, .tasks td {
    padding: 15px;
    border: 1px solid #ddd;
    text-align: left;
    word-wrap: break-word;
}

.tasks th {
    background-color: #f4f4f4;
    font-weight: bold;
}

.tasks th, .tasks td {
    width: 16%;
}

.tasks td.icon-column {
    text-align: center;
}

.tasks td.icon-column img {
    width: 20px;
    cursor: pointer;
}

/* Status Styles */
.status-pending {
    background-color: #f0ad4e; /* Amber */
    color: white;
    padding: 5px;
    border-radius: 5px;
}

.status-in-progress {
    background-color: #3498db; /* Blue */
    color: white;
    padding: 5px;
    border-radius: 5px;
}

.status-completed {
    background-color: #5cb85c; /* Green */
    color: white;
    padding: 5px;
    border-radius: 5px;
}

/* Notifications */
.notifications {
    background-color: #ffefc1;
    padding: 10px;
    margin: 20px 0;
    border: 1px solid #e1c966;
    border-radius: 5px;
    width: 100%;
    text-align: center;
    font-size: 14px;
}

/* Footer */
footer {
    width: 100%;
    text-align: center;
    color: black;
    font-size: 12px;
    margin-top: 20px;
    padding-bottom: 20px;
}

/* Media Queries */
@media (max-width: 768px) {
    .tasks th, .tasks td {
        font-size: 14px;
    }
}

/* Menu Overlay */
.menu-overlay {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background-color: rgba(0, 0, 0, 0.8);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.menu-overlay ul {
    list-style: none;
    padding: 0;
}

.menu-overlay ul li {
    margin: 20px;
    font-size: 24px;
}

.menu-overlay ul li a {
    color: white;
    text-decoration: none;
}

.menu-close {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 24px;
    color: white;
    cursor: pointer;
}

/* Pretty Tooltip Styling with Line Wrapping */
.icon[data-note]:hover::after {
    content: attr(data-note);
    position: absolute;
    bottom: 120%; /* Position above the icon */
    left: 50%;
    transform: translateX(-50%);
    max-width: 300px; /* Set a maximum width to allow wrapping */
    background-color: #f4f4f9; /* Light background */
    color: #333; /* Darker text for contrast */
    padding: 10px;
    border-radius: 8px;
	width:500px;
    font-size: 14px;
    line-height: 1.4;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.15);
    white-space: normal; /* Allow text wrapping */
    z-index: 10;
    opacity: 0;
    transition: opacity 0.2s ease;
}

.icon[data-note]:hover::before {
    content: '';
    position: absolute;
    bottom: 110%; /* Position arrow just below tooltip */
    left: 50%;
    transform: translateX(-50%);
    border-width: 8px;
    border-style: solid;
    border-color: #f4f4f9 transparent transparent transparent; /* Matches tooltip background */
    z-index: 10;
    opacity: 0;
    transition: opacity 0.2s ease;
}

.icon[data-note]:hover::after,
.icon[data-note]:hover::before {
    opacity: 1;
}

.icon {
    position: relative;
}


