
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    margin: 0;
    padding: 20px;
    background-color: #f5f5f5;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 20px rgba(0,0,0,0.1);
    overflow: hidden;
}

.tabs {
    display: flex;
    background: #2c3e50;
}

.tab {
    padding: 15px 25px;
    color: white;
    cursor: pointer;
    border-right: 1px solid #34495e;
    transition: background 0.3s;
}

.tab:hover {
    background: #34495e;
}

.tab.active {
    background: #3498db;
}

.sheet {
    display: none;
    padding: 20px;
}

.sheet.active {
    display: block;
}

.zona {
    margin-bottom: 40px;
    border: 2px solid #3498db;
    border-radius: 8px;
    overflow: hidden;
}

.zona-header {
    background: #3498db;
    color: white;
    padding: 12px 20px;
    font-weight: bold;
    font-size: 16px;
}

.zona-content {
    padding: 20px;
}

table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 10px;
}

th {
    background: #34495e;
    color: white;
    padding: 12px 8px;
    text-align: center;
    font-size: 13px;
    border: 1px solid #2c3e50;
}

td {
    padding: 8px;
    border: 1px solid #ddd;
    text-align: center;
}

input, select {
    width: 100%;
    padding: 6px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 13px;
    box-sizing: border-box;
}

input:focus, select:focus {
    outline: none;
    border-color: #3498db;
    box-shadow: 0 0 5px rgba(52, 152, 219, 0.3);
}

.result-row {
    background: #ecf0f1;
}

.result-row.highlight {
    background: #d5dbdb;
    font-weight: bold;
}

.image-area {
    min-height: 300px;
    border: 2px dashed #bdc3c7;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #7f8c8d;
    font-style: italic;
    background: #f8f9fa;
    margin-top: 10px;
    padding: 10px;
}

.summary-stats {
    background: #f8f9fa;
    padding: 15px;
    border-radius: 5px;
    margin-top: 20px;
    border-left: 4px solid #3498db;
}

/* Butoane */
.calc-button {
    background: #27ae60;
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 14px;
    margin-top: 5px;
}

.calc-button:hover {
    background: #229954;
}

.clear-button {
    background: #e74c3c !important;
    margin-left: 10px;
}

.preview-button {
    background: #9b59b6 !important;
}

/* Clase pentru validare și evidențiere */
.highlight-row {
    background-color: #fffde7 !important;
}

.empty-row {
    opacity: 0.6;
}

.warning-input {
    border: 1px solid #ff5722 !important;
    background-color: #ffebee;
}

/* Coduri de culoare rezultate */
.result-usă { background-color: #d0e9ff !important; }
.result-laterală { background-color: #d4edda !important; }
.result-polită { background-color: #fff9c4 !important; }
.result-fund { background-color: #ffe0b2 !important; }
.result-traversă { background-color: #e1bee7 !important; }
