body {
    margin: 0;
    font-family: Arial, sans-serif;
}

.header {
    background-color: #89CFF0;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 5px 20px;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1;
}

.header .user-image {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    margin-right: 10px;
}

.header h1 {
    margin: 0;
    font-size: 24px;
    color: black;
}

.header a {
    color: #4A90E2;
    text-decoration: none;
    margin-left: 20px;
    font-size: 18px;
    color: black;
}

.sidebar {
    height: 100%;
    width: 180px;
    position: fixed;
    top: 50px;
    left: 0;
    background-color: #333;
    padding-top: 20px;
    z-index: 0;
}

.sidebar a {
    padding: 10px 15px;
    text-decoration: none;
    font-size: 18px;
    color: white;
    display: block;
}

.sidebar b {
    padding: 10px 15px;
    text-decoration: none;
    font-size: 18px;
    color: rgb(248, 199, 134);
    display: block;
}

.sidebar a:hover {
    background-color: #575757;
}

.content {
    margin-top: 50px;
    margin-left: 180px;
    padding: 30px;
    height: 100vh;
}

.alert_table
{
    width:100%;
    max-width:800px;
}

.alert_table .enable_cb
{
    text-align:center;
}

/* Center data cards */
.data-cards-container {
    display: flex;
    justify-content: center;
    gap: 20px;
}

/* Card styling */
.card {
    background-color: #eee;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    padding: 10px;
    margin: 10px;
    width: calc(33% - 40px);
    text-align: center;
    transition: transform 0.2s;
    -webkit-box-shadow: inset 0px 1px 0px hsl(0, 0%, 40%), inset 0px -5px 10px hsl(0, 0%, 22%), 0px 1px 5px hsla(0, 0%, 0%, 0.4);
    -moz-box-shadow: inset 0px 1px 0px hsl(0, 0%, 40%), inset 0px -5px 10px hsl(0, 0%, 22%), 0px 1px 5px hsla(0, 0%, 0%, 0.4);
    box-shadow: inset 0px 1px 0px hsl(0, 0%, 40%), inset 0px -5px 10px hsl(0, 0%, 22%), 0px 1px 5px hsla(0, 0%, 0%, 0.4);
}

.card h2 {
    font-size: 18px;
    margin: 0 0 10px 0;
}

.card p {
    font-size: 16px;
    margin: 0;
}

canvas {
    display: block;
    max-width: 100%;
    height: auto;
}

/* Login/Register Page */
.login-container, .register-container {
    display: flex;
    height: 100vh;
}

.login-left, .register-left {
    flex: 1;
    background: url('/assets/bg-1.jpg') no-repeat center center/cover;
}

.login-right, .register-right {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background-color: white;
    padding: 20px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.login-right h1, .register-right h1 {
    font-size: 32px;
    color: #5A5A5A;
}

.form-group {
    width: 100%;
    margin-bottom: 15px;
}

.form-group label {
    font-size: 14px;
    color: #5A5A5A;
}

.form-group input {
    width: 100%;
    padding: 10px;
    margin-top: 5px;
    border: 1px solid #ccc;
    border-radius: 5px;
}

.button, .button-secondary {
    width: 100%;
    padding: 10px;
    border: none;
    border-radius: 5px;
    margin-top: 10px;
    cursor: pointer;
}

.button {
    background-color: #4A90E2;
    color: white;
}

.button-secondary {
    background-color: #ddd;
    color: #5A5A5A;
}

/* Responsive Design */
@media (max-width: 768px) {
    .login-container, .register-container {
        flex-direction: column;
    }

    .login-left, .register-left {
        display: none;
    }

    .login-right, .register-right {
        width: 100%;
    }
}

@media (max-width: 1024px) {
    .login-left, .register-left {
        flex: 0.5;
    }

    .login-right, .register-right {
        flex: 1.5;
    }

    .card h2 {
	font-size: 12px;
	margin: 0 0 0px 0;
    }

    .card p {
	font-size: 12px;
	margin: 0;
    }

    .sidebar {
	width: 150px;
    }

    .content {
	margin-top: 50px;
	margin-left: 150px;
	padding: 20px;
	height: 100vh;
    }
}

