body {
    font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
    background-color: #f8f9fa;
}

.container {
    max-width: 1200px;
    padding: 20px;
}

.card {
    border: none;
    border-radius: 10px;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
    margin-bottom: 20px;
}

.btn-action {
    min-width: 200px;
    margin: 10px;
}

.table th {
    background-color: #f8f9fa;
    font-weight: 600;
}

.total-section {
    background-color: #e9ecef;
    padding: 15px;
    border-radius: 8px;
    margin-top: 20px;
}

.records-container {
    padding: 20px 0;
}

.room-card {
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
    margin-bottom: 30px;
    overflow: hidden;
}

.room-header {
    background: #f8f9fa;
    padding: 15px 20px;
    border-bottom: 1px solid #eee;
}

.room-title {
    margin: 0;
    color: #2c3e50;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.record-list {
    padding: 0;
    margin: 0;
    list-style: none;
}

.record-item {
    padding: 15px 20px;
    border-bottom: 1px solid #eee;
}

.record-item:last-child {
    border-bottom: none;
}

.record-date {
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 10px;
}

.reading-details {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-bottom: 10px;
}

.reading-box {
    background: #f8f9fa;
    padding: 12px;
    border-radius: 8px;
}

.reading-box h6 {
    margin: 0 0 8px 0;
    color: #2c3e50;
    font-size: 0.9rem;
}

.reading-value {
    font-size: 1.1rem;
    font-weight: 500;
    color: #2980b9;
}

.consumption-details {
    display: flex;
    justify-content: space-between;
    background: #e3f2fd;
    padding: 12px;
    border-radius: 8px;
    margin-top: 10px;
}

.room-total {
    background: #2c3e50;
    color: white;
    padding: 15px 20px;
}

.total-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
}

.total-item {
    text-align: center;
}

.total-label {
    font-size: 0.85rem;
    opacity: 0.9;
    margin-bottom: 5px;
}

.total-value {
    font-size: 1.2rem;
    font-weight: 500;
}

.download-btn {
    background-color: #28a745;
    color: white;
    border: none;
    padding: 8px 15px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 0.9rem;
    transition: background-color 0.3s;
}

.download-btn:hover {
    background-color: #218838;
}

/* Table Styles */
.table th {
    background-color: #f8f9fa;
    white-space: nowrap;
    font-size: 0.9rem;
}

.table td {
    vertical-align: middle;
    font-size: 0.9rem;
}

td:nth-child(3), td:nth-child(7) {  /* Reading Cycle columns */
    font-size: 0.85rem;
    color: #666;
}

td:nth-child(4), td:nth-child(8) {  /* Units columns */
    font-weight: 500;
    color: #2c3e50;
}

td:nth-child(5), td:nth-child(9), td:nth-child(11) {  /* Bill amount columns */
    font-weight: 500;
    color: #2980b9;
}

.table td:not(:first-child), .table th:not(:first-child) {
    text-align: center;
}

.table-light td {
    background-color: #f8f9fa;
}

.table-info td {
    background-color: #e3f2fd;
}

tr:not(.table-light):not(.table-info) td:first-child {
    color: #666;
    font-size: 0.85rem;
}

/* Print Styles */
@media print {
    .no-print {
        display: none;
    }
    .container {
        width: 100%;
        max-width: 100%;
    }
    .card {
        box-shadow: none;
    }
    .room-card {
        break-inside: avoid;
        box-shadow: none;
        border: 1px solid #ddd;
    }
}

.btn-share {
    background-color: #25D366;
    color: white;
    border: none;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 14px;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    transition: all 0.3s ease;
}

.btn-share:hover {
    background-color: #128C7E;
    color: white;
    transform: translateY(-2px);
}

.btn-share i {
    font-size: 16px;
}

.share-actions {
    display: flex;
    gap: 10px;
    margin-top: 10px;
    justify-content: center;
}

/* Add animation for share button */
@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

.btn-share:active {
    animation: pulse 0.3s ease-in-out;
} 