
/* Satellite Tech Check-ins Styling */

.satellite-checkins-container {
    max-width: 1200px;
    margin: 2rem auto;
    padding: 0 1rem;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
}

.satellite-checkins-title {
    text-align: center;
    margin-bottom: 2rem;
    color: #2c3e50;
    font-size: 32px;
    font-weight: 600;
    line-height: 1.2;
    padding: 0 1rem;
}

.tcm-checkins-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(400px, 1fr));
    gap: 25px;
}

.tcm-checkin-card {
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    overflow: hidden;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.tcm-checkin-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.15);
}

.service-title {
    margin: 0;
    padding: 20px;
    font-size: 28px;
    color: #2c3e50;
    font-weight: 600;
    line-height: 1.2;
    background: #f8f9fa;
    border-bottom: 1px solid #eee;
}

.checkin-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    background: #f8f9fa;
    border-bottom: 1px solid #eee;
}

.technician-info {
    display: flex;
    gap: 5px;
}

.technician-label {
    color: #4a5568;
    font-weight: 600;
}

.technician-name {
    color: #2c3e50;
}

.date {
    color: #7f8c8d;
}

.checkin-location {
    padding: 15px 20px;
    background: #fff;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 1em;
    color: #2c3e50;
    border-bottom: 1px solid #eee;
}

.checkin-map-container {
    width: 100%;
    height: 250px;
    border-bottom: 1px solid #eee;
    background: #f8f9fa;
}

.checkin-map {
    width: 100%;
    height: 100%;
}

.checkin-content {
    padding: 20px;
    font-size: 1.1em;
    line-height: 1.6;
    color: #2c3e50;
    background: #fff;
    border-bottom: 1px solid #eee;
    margin: 0;
}

.checkin-content p {
    margin: 0 0 10px 0;
}

.checkin-content p:last-child {
    margin-bottom: 0;
}

.checkin-photos {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    padding: 20px;
    background: #f8f9fa;
    border-bottom: 1px solid #eee;
}

.photo-container {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    aspect-ratio: 1;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.photo-label {
    position: absolute;
    top: 12px;
    left: 12px;
    background: rgba(0,0,0,0.7);
    color: white;
    padding: 6px 12px;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 500;
    z-index: 1;
}

.photo-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.photo-container:hover img {
    transform: scale(1.05);
}

.checkin-footer {
    padding: 15px 20px;
    background: #f8f9fa;
}

.checkin-tags {
    font-size: 0.9em;
    color: #3498db;
    word-spacing: 8px;
    line-height: 1.6;
}

/* Lightbox */
.tcm-lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.9);
    z-index: 1000;
}

.lightbox-content {
    max-width: 90%;
    max-height: 90vh;
    margin: auto;
    display: block;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 30px;
    color: white;
    font-size: 30px;
    cursor: pointer;
}

.admin-notice {
    background-color: #fff8e1;
    border-left: 4px solid #ffc107;
    padding: 12px 20px;
    margin-bottom: 20px;
    border-radius: 4px;
}

.no-checkins {
    grid-column: 1 / -1;
    text-align: center;
    padding: 40px;
    background: #f8f9fa;
    border-radius: 8px;
    color: #666;
}

/* Pagination */
.tcm-pagination {
    text-align: center;
    margin: 30px 0;
    padding: 20px;
}

.tcm-pagination .page-numbers {
    padding: 8px 14px;
    margin: 0 5px;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 4px;
    color: #333;
    text-decoration: none;
    transition: all 0.3s ease;
}

.tcm-pagination .page-numbers.current {
    background: #39B54A;
    color: white;
    border-color: #39B54A;
}

.tcm-pagination .page-numbers:hover:not(.current) {
    background: #f5f5f5;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .tcm-checkins-grid {
        grid-template-columns: 1fr;
    }

    .service-title {
        font-size: 24px;
    }

    .checkin-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }

    .checkin-content {
        font-size: 1em;
    }
    
    .checkin-photos {
        grid-template-columns: 1fr;
    }
}
