/* General page container */
.container {
    display: flex;
    min-height: 100vh;
    background-color: #e3f4f9;
}

/* Sidebar */
.sidebar {
    width: 200px;
    background-color: #00a0e4;
    padding: 20px;
}

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

.sidebar ul li {
    margin: 20px 0;
}

.sidebar ul li a {
    color: white;
    text-decoration: none;
    font-size: 16px;
    display: block;
    padding: 10px;
    border-radius: 5px;
}

.sidebar ul li a.active, .sidebar ul li a:hover {
    background-color: #0288d1;
}

/* Main Content */
.main-content {
    flex: 1;
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

/* Header */
.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #00a0e4;
    padding: 10px 20px;
    color: white;
    border-radius: 5px;
}

.header h1 {
    margin: 0;
    font-size: 24px;
}

/* .user-info {
    display: flex;
    align-items: center;
}

.user-info span {
    margin-right: 10px;
    font-size: 16px;
} */

/* .avatar {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    background-color: #fff;
    color: #0288d1;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: bold;
    font-size: 16px;
} */

/* Content Section */
.content {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 70vh;
}

.button {
    background-color: #007bff;
    border: none;
    color: white;
    padding: 15px 32px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 16px;
    margin: 0 10px; /* Add margin between buttons */
    border-radius: 10px;
    cursor: pointer;
}

.button:hover {
    background-color: #0056b3;
}
.logout-btn {
    display: inline-block;
    background-color: #0056b3;
    color: #0056b3;
    text-decoration: none;
    border-radius: 2px;
    margin-left: 10px;
}

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


/* Basic styles for username and avatar */
.user-info {
    position: relative;
    display: inline-block;
    cursor: pointer;
}

.username {
    margin-right: 10px;
}

.avatar {
    display: inline-block;
    width: 30px;
    height: 30px;
    background-color: #0073aa;
    color: white;
    text-align: center;
    line-height: 30px;
    border-radius: 50%;
    font-weight: bold;
}

/* Dropdown content (initially hidden) */
.dropdown-content {
    display: none;
    position: absolute;
    background-color: #f9f9f9;
    min-width: 100px;
    box-shadow: 0px 8px 16px rgba(0, 0, 0, 0.1);
    z-index: 1;
    right: 0;
}

.dropdown-content a {
    color: black;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
}

.dropdown-content a:hover {
    background-color: #f1f1f1;
}

/* Show the dropdown on hover or click */
.dropdown:hover .dropdown-content,
.dropdown:focus-within .dropdown-content {
    display: block;
}


/* for camra css  */
/* Show the dropdown on hover or click */
#camera-container {
    width: 100%; /* Adjust the width to fit the container */
    max-width: 600px; /* Limit the max width */
    margin: 0 auto; /* Center align if necessary */
    padding: 10px;
    border: 2px solid #ccc; /* Optional border for the video container */
}

#camera-stream {
    width: 100%;
    height: auto; /* Maintain aspect ratio */
    display: block;
}


