body {
    font-family: Arial, Helvetica, sans-serif;
    text-align: center;
    background-color: #f4f4f9;
    margin: 0;
    padding: 0 20px;
}

.sim_wrapper {
    padding: 20px;
    background-color: #fff;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
}

.total_wrapper {
    margin-top: 10px;
    padding: 10px 0;
    color: orange;
    background-color: #333;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    gap: 5px;
}

h1 {
    color: #333;
}

#companies {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}

.company_container {
    margin: 16px;
    padding: 16px;
    background-color: #e9ecef;
    border-radius: 8px;
}

.company_info, .balance_info {
    margin: 12px 0;
}

button {
    padding: 8px 12px;
    font-size: 16px;
    color: #fff;
    background-color: #28a745;
    border: none;
    border-radius: 4px;
    margin-top: 8px;
    cursor: pointer;
}

button:hover {
    background-color: #218838;
}

.sell_button {
    background-color: #dc3545;
}
.sell_button:hover {
    background-color: #c82333;
}

input {
    padding: 8px;
    width: 60px;
    margin-top: 8px;
}

#popupModal {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: #fff;
    padding: 20px;
    border: 1px solid #333;
    z-index: 1000;
}

#popupModal button {
    margin-top: 12px;
}

.overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 999;
}

.stock_price {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 50px;
    color: orange;
    background-color: #000;
    border-radius: 12px;
}
