/* move to main css */
.main-content{
    padding-top: 70px
}
.title{
    color: #f2f2f2;
    text-align: center;
    padding: 20px;
    margin-top: 50px;
}
/*  */

.account-container{
    display: flex;
    justify-content: space-between;
}
.sidebar {
    width: 250px;
    background: #2a2a2a;
    padding: 20px;
    color: #f2f2f2;
    display: flex;
    flex-direction: column;
}
.menu-item {
    padding: 10px;
    background: #3d3d3d;
    margin: 5px 0;
    cursor: pointer;
    border-radius: 5px;
    transition: 0.3s;
}
.menu-item:hover {
    background: #92754F;
}
.menu-item.active {
    background: #92754F;
}
.menu-title {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.arrow {
    transition: transform 0.3s ease;
}
.submenu {
    display: none;
    margin-left: 15px;
    background: #3b4f60;
    border-left: 2px solid #92754F;
    border-radius: 5px;
}
.submenu-item {
    padding: 8px;
    cursor: pointer;
    transition: 0.3s;
}
.submenu-item:hover {
    background: #92754F;
}
.submenu-item.active {
    background: #92754F;
}
.card {
    display: none;
    color: #f2f2f2;
    padding: 50px;
    min-height: calc(100vh - 70px);
    width: calc(100vw - 250px);
}
.card.active{
    display: flex;
    flex-direction: column;
}

table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 25px;
    font-size: 20px;
}
th{
    background: #2a2a2a;
}
th, td {
    /* border: 1px solid #ccc; */
    border: 2px solid #3d3d3d;
    padding: 8px;
    text-align: left;
}
/* th {
    background: #f4f4f4;
} */
.add-button {
    padding: 8px 12px;
    background: #28a745;
    color: white;
    border: none;
    cursor: pointer;
    display: block;
    width: 300px;
    margin: 30px auto;
    font-size: 18px;
}
.add-button:hover {
    background: #0e8a2a;
}
.save-button {
    background: #007bff;
    color: white;
    border: none;
    padding: 6px;
    cursor: pointer;
}
.delete-button {
    background: #3d3d3d;
    color: white;
    border: none;
    padding: 6px;
    cursor: pointer;
}
.delete-button:hover {
    background: #ce0000;
}
.input-row input {
    width: 100%;
    padding: 5px;
}
.price-input{
    display: flex;
    align-items: center;
}
.price-input>span{
    margin-left: 10px;
}
.charts{
    display: flex;
    justify-content: space-around;
    margin-bottom: 30px;
}
.charts .chart{
    display: flex;
    flex-direction: column;
}

select {
    width: 100%;
    padding: 10px;
    margin: 0px !important;
    border: 1px solid #ccc;
    border-radius: 5px;
    background-color: #3d3d3d;
    color: white;
    appearance: none; /* Removes default styling */
    -webkit-appearance: none;
    -moz-appearance: none;
    cursor: pointer;
    font-size: 16px;
}

/* Optional: Add a custom arrow for the select */
select::after {
    content: '▼';
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
    color: white;
}

/* Remove focus styles */
input:focus, textarea:focus, select:focus, button:focus {
    outline: none;
    box-shadow: none;
}

input {
    width: 100%;
    padding: 10px;
    margin: 0px !important;
    border: 1px solid #ccc;
    border-radius: 5px;
    background-color: #3d3d3d;
    color: white;
    font-size: 16px;
}
input:focus, textarea:focus, select:focus, button:focus {
    outline: none;
    box-shadow: none;
}

.table-actions{
    display: flex;
    gap: 5px;
}
.table-actions button{
    display: flex;
    align-items: center;
    justify-content: center;
}

.table-actions > .save-button{
    background-color: #28a745;
    padding: 0px;
}

.table-actions > .save-button:hover{
    background-color: #0e8a2a;
}

.table-actions > .cancel-button{
    background-color: #3d3d3d;
    padding: 0px;
}

.table-actions > .cancel-button:hover{
    background-color: #ce0000;
}