/* Modern Guests Section Styles */

.guest-table-row {
    transition: all 0.2s ease;
}

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

.table-guests {
    table-layout: fixed;
    width: 100%;
}

.table-guests th:nth-child(1), .table-guests td:nth-child(1) { width: 35%; } /* Nombre */
.table-guests th:nth-child(2), .table-guests td:nth-child(2) { width: 15%; } /* Telefono */
.table-guests th:nth-child(3), .table-guests td:nth-child(3) { width: 15%; } /* Nacionalidad */
.table-guests th:nth-child(4), .table-guests td:nth-child(4) { width: 10%; text-align: center; } /* Reservas */
.table-guests th:nth-child(5), .table-guests td:nth-child(5) { width: 25%; } /* Acciones */

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

.guest-avatar-circle {
    width: 36px;
    height: 36px;
    background: linear-gradient(135deg, #059669, #10b981);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.85rem;
    flex-shrink: 0;
    box-shadow: 0 2px 4px rgba(5, 150, 105, 0.2);
    border: 2px solid #fff;
}

.guest-text-dim {
    color: #6b7280;
    font-size: 0.9rem;
}

.guest-phone-badge {
    background: #f3f4f6;
    color: #374151;
    padding: 2px 8px;
    border-radius: 6px;
    font-size: 0.85rem;
    font-weight: 600;
}

.guest-doc-type {
    font-size: 0.75rem;
    background: #e5e7eb;
    color: #4b5563;
    padding: 2px 6px;
    border-radius: 4px;
    font-weight: 700;
    text-transform: uppercase;
}

.guest-doc-id {
    font-family: monospace;
    font-size: 0.9rem;
    color: #111827;
}

.guest-nat-cell {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.9rem;
    color: #374151;
}

.guest-res-count-badge {
    background: #111827;
    color: white;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 700;
    margin: 0 auto;
}

.guest-res-none {
    color: #d1d5db;
    display: block;
    text-align: center;
}

.guest-actions-wrap {
    display: flex;
    gap: 8px;
    align-items: center;
}

.btn-guest-action {
    border: none;
    border-radius: 8px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.btn-guest-view {
    background: #f3f4f6;
    color: #111827;
    padding: 6px 12px;
    font-size: 0.85rem;
    font-weight: 600;
    gap: 6px;
    border: 1px solid #e5e7eb;
}

.btn-guest-view:hover {
    background: #e5e7eb;
}

.btn-guest-edit {
    background: #fff;
    color: #4b5563;
    border: 1px solid #e5e7eb;
    width: 34px;
    height: 34px;
}

.btn-guest-edit:hover {
    background: #f9fafb;
    color: #111827;
}

.btn-guest-delete {
    background: #fff;
    color: #ef4444;
    border: 1px solid #fee2e2;
    width: 34px;
    height: 34px;
}

.btn-guest-delete:hover {
    background: #fef2f2;
    color: #dc2626;
    border-color: #fecaca;
}

/* Stats Cards for Guests */
.stats-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.stat-card {
    background: white;
    padding: 20px;
    border-radius: 16px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    gap: 4px;
    border: 1px solid #f3f4f6;
    position: relative;
    overflow: hidden;
}

.stat-card::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 4px;
    height: 100%;
}

.stat-card.total::after { background: #10b981; }
.stat-card.active::after { background: #3b82f6; }
.stat-card.today::after { background: #f59e0b; }

.stat-label {
    font-size: 0.75rem;
    font-weight: 700;
    color: #6b7280;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.stat-value {
    font-size: 1.8rem;
    font-weight: 800;
    color: #111827;
}
