/* Post Check-In History Styles */

.pci-checkin-history {
    width: 100%;
    box-sizing: border-box;
}

.pci-history-heading {
    font-size: 1.5em;
    font-weight: bold;
    margin-bottom: 1em;
    color: #333;
}

.pci-total-count {
    font-weight: 600;
    font-size: 1em;
    margin-bottom: 1em;
    padding: 0.5em;
    background-color: #f5f5f5;
    border-radius: 4px;
    color: #555;
}

.pci-history-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.pci-history-item {
    padding: 0.75em 1em;
    margin-bottom: 0.5em;
    background-color: #fafafa;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    font-size: 0.95em;
    color: #666;
    transition: background-color 0.2s ease;
}

.pci-history-item:last-child {
    margin-bottom: 0;
}

.pci-history-item:hover {
    background-color: #f0f0f0;
}

.pci-history-date {
    font-weight: 500;
    color: #333;
}

.pci-history-separator {
    margin: 0 0.4em;
    color: #999;
}

.pci-history-time {
    color: #666;
}

.pci-no-history {
    padding: 1em;
    background-color: #f9f9f9;
    border: 1px dashed #ccc;
    border-radius: 4px;
    text-align: center;
    color: #999;
    font-style: italic;
}

.pci-error {
    color: #d32f2f;
    padding: 0.75em;
    background-color: #ffebee;
    border: 1px solid #ffcdd2;
    border-radius: 4px;
    margin: 0.5em 0;
}

/* Responsive Design */
@media (max-width: 768px) {
    .pci-history-heading {
        font-size: 1.25em;
    }

    .pci-history-item {
        font-size: 0.9em;
        padding: 0.6em 0.8em;
    }

    .pci-history-separator {
        display: block;
        margin: 0.2em 0;
        text-indent: -9999px;
        height: 0;
    }

    .pci-history-date,
    .pci-history-time {
        display: block;
    }
}
