body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #f4f4f4;
    color: #333;
    line-height: 1.6;
    margin: 0;
    padding: 0;
    padding-bottom: 70px;
}
.container {
    max-width: 800px;
    margin: auto;
    overflow: hidden;
    padding: 0 20px;
} 
      
header {
    background: #0c3839;
    color: #ffffff;
    padding-top: 30px;
    min-height: 70px;
    border-bottom: #076461 3px solid;
}
header a {
    color: #ffffff;
    text-decoration: none;
    text-transform: uppercase;
    font-size: 16px;
}
nav {
    float: right;
    margin-top: 10px;
}
nav a {
    margin-left: 20px;
}
.welcome {
    padding: 20px;
    background: #ffffff;
    margin: 20px 0;
    border-radius: 8px;
    box-shadow: 0 0 10px #cccccc;
}
footer {
    background: #0c3839;
    color: #ffffff;
    text-align: center;
    padding: 10px;
    position: fixed;
    left: 0;
    bottom: 0;
    width: 100%;
}
.login-popup {
    display: none;
    position: fixed;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    padding: 20px;
    background: white;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.2);
    border-radius: 5px;
    z-index: 2;
}
.overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1;
}		
form { 
    margin-top: 20px; 
}
input {	
    display: block;
    width: 80%;
    padding: 10px;
    margin: 10px 0;
    margin-left: 5px;
}
button {
    display: inline;
    padding: 10px;	
}
body_user { 
    font-family: Arial, sans-serif; 
    background-color: white; 
    color: #0c3839; 
}

.total-earnings {
    position: absolute;
    right: 330px;
    top: 100px;
    color: white;
}

table {
    width: 80%; 
    border-collapse: collapse; 
    table-layout: fixed;
}

th, td {
    border: 1px solid #ddd; 
    text-align: left; 
    padding: 8px; 
}

th {
    background-color: #f2f2f2;
}

td {
    word-wrap: break-word;
}

.main-wrapper {
    display: flex;
    flex-wrap: wrap;
    padding: 20px;
}

.container_user, .sidebar {
	height: auto;
    padding: 20px;
}

.sidebar {
    flex: 1;
    background-color: #f2f2f2;
    margin-right: 20px;
    max-width: 200px;
}

.container_user {
    flex: 3;
}

.btn {
    display: inline-block;
    background-color: #064b4d;
    color: #ffffff;
    padding: 10px 20px;
    border-radius: 5px;
    text-decoration: none;
    text-align: center;
	margin-bottom: 10px;
	float: right;
	width: 30%;	
}

.btn:hover {
    background-color: #0c3839;
}

#notification {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translateX(-50%);
    background-color: #0c3839;
    color: white;
    padding: 15px;
    border-radius: 5px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    z-index: 1000;
}

#notification.show {
    display: block; 
}

#toggleSidebar {
	width: 30%;
	height: 40px;
    display: none; 
    background-color: #064b4d;
    color: white;
    padding: 10px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    margin-bottom: 10px;
}

@media (max-width: 768px) {
    .sidebar {
        display: none;
        max-width: 100%;
        margin-right: 0;
        margin-bottom: 20px;
    }
	
    .total-earnings {
        position: absolute;
        right: 40px;
        top: 125px;
        color: white;
    }  
	
    #toggleSidebar {
        display: block;
    }

    table {
        width: 100%; 
        border-collapse: collapse; 
        table-layout: fixed;
    }

    th, td {
        border: 1px solid #ddd; 
        text-align: left; 
    }

    th {
        background-color: #f2f2f2;
    }

    td {
        word-wrap: break-word;
    }
    input {	
        display: block;
        width: 60%;
        padding: 10px;
        margin: 10px 0;
        margin-left: 5px;
    }	
}

ul {
    list-style-type: none;
    padding: 0;
}

ul li a {
    display: block;
    padding: 10px;
    background-color: #e4e4e4;
    color: #333;
    text-decoration: none;
    border-radius: 5px;
    margin-bottom: 5px;
}

ul li a:hover {
    background-color: #d4d4d4;
}

footer {
    margin-top: 20px;
    clear: both;
}
