body {
    font-family: 'Arial', sans-serif;
    margin: 20px;
    background-color: #f7f7f7;
}

.spreadsheet-container {
    max-width: 1250px;
    margin: auto;
    background: #fff;
    padding: 20px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
}

.header-container {
    padding: 10px 0;
}

h2 {
    font-size: 24px;
    color: #1A73E8;
    border-bottom: 2px solid #1A73E8;
    padding-bottom: 5px;
    margin-bottom: 10px;
}

.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.percentage {
    font-size: 48px;
    color: #4CAF50;
    text-align: center;
}

.progress-container {
    flex-grow: 1;
    margin: 0 20px;
}

.progress-bar {
    width: 100%;
    height: 20px;
    background-color: #f3f3f3;
    border-radius: 10px;
    overflow: hidden;
    margin-right: 20px;
}

.progress-bar div {
    height: 100%;
    background-color: #4CAF50;
    width: 0;
}

.total-value {
    font-size: 24px;
    color: #333;
}

.section h3 {
    font-size: 18px;
    color: #333;
    border-bottom: 1px solid #1A73E8;
    margin-bottom: 10px;
    padding-bottom: 5px;
}

table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 20px;
}

td {
    padding: 10px;
    border-bottom: 1px dotted #ccc;
}

.final-section {
    margin-top: 30px;
    text-align: center;
}

.final-section table {
    width: 100%;
    margin: 0 auto;
    border-collapse: separate;
    border-spacing: 0 15px;
}

.final-section td {
    padding: 10px;
    font-size: 18px;
    font-weight: bold;
    border: none;
    background: #f9f9f9;
    border-radius: 8px;
}

#tva-status {
    padding: 8px;
    font-size: 16px;
    border: 1px solid #ccc;
    border-radius: 5px;
    background-color: #fff;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    width: 100%;
    max-width: 200px;
    display: inline-block;
}

.menu-container {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    margin-top: 20px;
}

.menu-item {
    flex: 1;
    text-align: left;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;

}

.menu-item h3 {
    font-size: 16px;
    color: #333;
    margin-bottom: 10px;
}

.checkbox-group {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 10px;
    flex-grow: 1; /* Permite grupului de checkbox-uri să crească și să umple spațiul disponibil */
    justify-content: space-around; /* Spațiu egal între elemente */
}

.checkbox-group label {
    font-size: 14px;
    color: #333;
    display: flex;
    align-items: center;
    cursor: pointer;
}

input[type="checkbox"] {
    transform: scale(1.5);
    margin-right: 10px;
}

.checkbox-group input[type="checkbox"] {
    margin-right: 5px;
    transform: scale(1);
}

.menu-item button {
    padding: 5px 10px;
    background-color: #3498db;
    color: #fff;
    border: none;
    border-radius: 3px;
    font-size: 14px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.menu-item button:hover {
    background-color: #2980b9;
}


.service-name {
    position: relative;
    display: inline-block;
}
/* Stiluri pentru celula de preț */
.service-table td:nth-child(5) {
    font-size: 12px;
    font-weight: bold;
}
.service-table {
    font-family: 'Comfortaa', sans-serif;
    border-collapse: collapse;
    width: 100%;
}

.service-table th,
.service-table td {
    padding: 8px;
    text-align: left;
}

/* Stiluri pentru numele serviciilor */
.service-table .service-name {
    font-size: 12px;
    font-weight: bold;
}

/* Stiluri pentru descriere */
.service-table td:nth-child(4) {
    font-size: 10px;
}

/* Stiluri generale pentru tabel */
.service-table th {
    background-color: #f2f2f2;
    font-size: 12px;
    font-weight: bold;
}

.service-table tr:nth-child(even) {
    background-color: #f9f9f9;
}

.service-table tr:hover {
    background-color: #e9e9e9;
}

.hover-icon {
    position: relative;
    display: inline-block;
    cursor: pointer;
}

.image-preview {
    display: none;
    position: absolute;
    top: 100%;
    transform: translateX(-12%);
    z-index: 10;
    width: 1000px;
    height: 700px;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.2);
    border: 1px solid #ddd;
    background-color: white;
    padding: 5px;
}
