body {
    font-family: 'Roboto', sans-serif; 
    color: #ffffff;
    margin: 0;
    padding: 0;
    display: none;
    justify-content: center;
    align-items: center;
    height: 100vh;
    overflow: hidden;
}

.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

#invoice-menu {
    display: flex;
    background-color: #242424;
    color: #ffffff;
    width: 90%;
    max-width: 900px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 12px 36px rgba(0, 0, 0, 0.8);
    z-index: 20;
    transition: opacity 0.5s ease, transform 0.5s ease;
}

#invoice-menu.hide {
    transform: translateY(-20px);
    opacity: 0;
}

.navbar {
    width: 220px;
    color: #00d184;
    background-color: #242424;
    display: flex;
    flex-direction: column;
    padding: 20px;
}

.navbar h2 {
    text-align: center;
    color: #ffffff;
    margin-bottom: 20px;
}

.nav-button {
    background-color: #242424; 
    color: white;
    border: none;
    margin: 10px 0;
    padding: 12px;
    cursor: pointer;
    text-align: left;
    border-radius: 8px;
    transition: background 0.3s, transform 0.2s;
}

.nav-button i {
    margin-right: 8px; 
    color: white;
}

.nav-button.active, .nav-button:hover {
    background-color: #333;
    color: #00d184;
    border-radius: 8px;
    transform: scale(1.05); 
}

.nav-button:last-child {
    margin-top: 100%;
}



.nav-button:last-child:hover {
    background-color: #333;
    color: #00d184;
    border-radius: 8px;
    transform: scale(1.05); 
}

.content {
    flex-grow: 1;
    padding: 20px;
    background-color: #242424; 
}

.section {
    display: none;
}

.section h2 {
    border-bottom: 2px solid #00d184;
    padding-bottom: 10px;
    margin-bottom: 20px;
    color: #00d184;
}

.styled-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.9em;
    margin-top: 10px;
    color: #00d184;
    background-color: #333333;
    border-radius: 8px;
    overflow: hidden;
}

.styled-table thead tr {
    background-color: #242424; 
    color: #00d184;
}

.styled-table th, .styled-table td {
    padding: 12px 15px;
    text-align: left;
    border-bottom: 1px solid #444444;
}

.styled-table tbody tr {
    background-color: #242424;
    transition: background-color 0.3s;
}


.styled-table tbody tr:hover {
    background-color: #3b3b3b;
}

.action-btn {
    background-color: #3b3b3b;
    border: none;
    color: #00d184;
    padding: 5px 10px;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s, transform 0.2s; 
}

.action-btn:hover {
    color: white;
    background-color: #0b8357; 
    transform: scale(1.05); 
}

#invoice-menu form {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 10px;
}

#invoice-menu form label {
    font-size: 14px;
    margin-bottom: 5px;
}

#invoice-menu form input, #invoice-menu form textarea {
    width: 90%;
    padding: 10px;
    border-radius: 5px;
    text-decoration: none;
    outline: none;
    border: none;
    background-color: #2b2b2b;
    color: white;
}

#invoice-menu form button {
    padding: 10px;
    font-size: 17px;
    background-color: #2b2b2b;
    border: none;
    color: white;
    border-radius: 5px;
    cursor: pointer;
    margin-top: 10px;
    transition: background-color 0.3s, transform 0.2s;
}

#invoice-menu form button:hover {
    background-color: #3b3b3b;
    transform: scale(1.02);
}

#your-billings {
    max-height: 400px;
    overflow-y: auto;
}

#your-billings::-webkit-scrollbar {
    width: 12px;
    background-color: transparent;
    border-radius: 10px;
}

#history {
    max-height: 400px;
    overflow-y: auto;
}

#history::-webkit-scrollbar {
    width: 12px;
    background-color: transparent;
    border-radius: 10px;
}


.bill-container {
    background-color: #2b2b2b;
    border-radius: 8px;
    padding: 15px;
    margin-bottom: 20px;
    transition: background-color 0.3s, transform 0.3s;
}

.bill-container h3 {
    color: #00d184;
    margin: 0 0 10px;
}

.bill-container p {
    font-size: 16px;
    margin: 5px 0;
    color: #ffffff;
}

.bill-container:hover{
    background-color: #3b3b3b;
    transform: scale(1.02);
}

