/**
 * Deweloper Online Raport - Frontend Styles
 */

/* Tabela z lokalami */
.dor-units-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 20px;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
}

.dor-units-table th {
    text-align: center;
    padding: 12px 6px;
    color: white;
    border-bottom: 2px solid #dee2e6;
    font-weight: 600;
}

.dor-units-table td {
    text-align: center;
    padding: 10px;
    border-right: 1px solid #dee2e6;
    border-bottom: 1px solid #dee2e6;
}

.dor-units-table td:last-child {
    border-right: none;
}

.dor-units-table tr:hover {
    background-color: rgba(0, 0, 0, 0.03);
}

/* Historia cen */
.dor-price-history {
    margin-top: 30px;
    border: 1px solid #dee2e6;
    border-radius: 8px;
    overflow: hidden;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
}

.dor-price-history-header {
    padding: 15px;
    display: flex;
    align-items: center;
    gap: 12px;
    border-bottom: 1px solid #dee2e6;
}

.dor-price-history-icon {
    width: 40px;
    height: 40px;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 20px;
}

.dor-price-history-text h3 {
    margin: 0 0 4px 0;
    padding: 0;
    font-size: 18px;
    font-weight: 600;
}

.dor-price-history-text p {
    margin: 0;
    padding: 0;
    font-size: 14px;
    color: #6c757d;
}

.dor-price-history-table {
    width: 100%;
    border-collapse: collapse;
}

.dor-price-history-table th {
    text-align: left;
    padding: 10px 15px;
    border-bottom: 1px solid #dee2e6;
    background-color: #f8f9fa;
    font-weight: 600;
    font-size: 14px;
}

.dor-price-history-table td {
    padding: 10px 15px;
    border-bottom: 1px solid #dee2e6;
    font-size: 14px;
}

.dor-price-history-table tr:last-child td {
    border-bottom: none;
}

.dor-price-history-table tr:hover {
    background-color: rgba(0, 0, 0, 0.03);
}

.dor-price-date {
    color: #6c757d;
    font-size: 12px;
}

.dor-price-value {
    font-weight: 600;
}

.dor-price-change {
    font-size: 12px;
    font-weight: 500;
}

.dor-price-up {
    color: #dc3545;
}

.dor-price-down {
    color: #28a745;
}

.dor-price-same {
    color: #6c757d;
}
