/* Modern Check-in / Check-out Styles */

.ci-table-row {
    transition: background-color 0.2s ease;
}

.ci-table-row:hover {
    background-color: rgba(0,0,0,0.02) !important;
}

.ci-room-cell {
    font-size: 1.05rem;
    color: #111827;
}

.ci-guest-cell {
    display: flex;
    align-items: center;
    gap: 12px;
}

.ci-avatar {
    width: 34px;
    height: 34px;
    background: linear-gradient(135deg, #4f46e5, #6366f1);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.8rem;
    flex-shrink: 0;
}

.ci-date-cell {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    color: #4b5563;
    font-weight: 500;
}

.ci-badge {
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    display: inline-block;
}

.ci-badge-in { background: #f0fdf4; color: #16a34a; border: 1px solid #dcfce7; }
.ci-badge-out { background: #fffbeb; color: #d97706; border: 1px solid #fef3c7; }
.ci-badge-house { background: #eff6ff; color: #2563eb; border: 1px solid #dbeafe; }
.ci-badge-overdue { background: #fef2f2; color: #dc2626; border: 1px solid #fee2e2; }

.ci-time-cell {
    display: flex;
    align-items: center;
    color: #374151;
    font-weight: 600;
    font-size: 0.9rem;
}

.ci-section-header td {
    padding: 0 !important;
}

.ci-header-content {
    padding: 10px 20px;
    font-weight: 700;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    display: flex;
    align-items: center;
    gap: 10px;
}

.ci-header-icon {
    font-size: 1.1rem;
}

.ci-overdue-header .ci-header-content { background: #fee2e2; color: #991b1b; }
.ci-out-header .ci-header-content     { background: #fff3c7; color: #92400e; }
.ci-in-header .ci-header-content      { background: #dcfce7; color: #166534; }
.ci-inhouse-header .ci-header-content { background: #dbeafe; color: #1e40af; }

.btn-ci-action {
    border: none;
    border-radius: 8px;
    padding: 6px 14px;
    font-size: 0.85rem;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.2s ease;
}

.btn-ci-primary {
    background: #111827;
    color: white;
}

.btn-ci-primary:hover {
    background: #000;
    transform: translateY(-1px);
}

.btn-ci-danger {
    background: #ef4444;
    color: white;
}

.btn-ci-danger:hover {
    background: #dc2626;
}

.btn-ci-warning {
    background: #f59e0b;
    color: white;
}

.btn-ci-warning:hover {
    background: #d97706;
}

.btn-ci-secondary {
    background: #f3f4f6;
    color: #374151;
    border: 1px solid #e5e7eb;
}

.btn-ci-secondary:hover {
    background: #e5e7eb;
}
